Skip to content

Releases: liyemaM/RecipeMaker

Release list

Part2

Choose a tag to compare

@liyemaM liyemaM released this 30 May 20:43
395442b

Features

-Show Recipe: Show information about a particular recipe.
-Add Recipe: Include a new recipe with steps and ingredients.
-List All Recipes: Provide an alphabetical list of every available recipe.
-Scale Recipe Up/Down: Modify a recipe's ingredient amounts.
-clear Recipe: Take a recipe out of the collection of recipes that are offered.
-Reset Quantities to Original Values: Return an ingredient's quantity to its initial value in a recipe.

How To Use

-Launching the Application:
-Run the RecipeMaker.exe file or compile and execute the Program.cs file using your C# compiler
-Upon launching, you will see the options menu

-Adding Recipe:
-Select option 4 from the menu
-Follow the prompts to enter your recipe name, ingredients, and steps
-Be sure to enter in valid inputs when entering in your calories, so no negative numbers or negative numbers

-Displaying a recipe:
-Select option 1 from the menu
-Then select the corresponding number your recipe belongs to

-Scale recipe up/down:
-Select option 2 from the menu
-Once selected select the recipe you wish to scale up or down
-Then select 1 of the 3 scaling options you wish to use
-After selecting, the ingredients will scale accordingly

-Resetting Quantities :
-Select option 3 from the menu
-Then select the recipe you wish to reset
-Afterwards, the recipe should reset to its original values

-Listing all recipes:
-Select option 6 from the menu
-This will display all the recipes that have been added to the recipe maker app

-Clearing all data:
-Select option 5 from the menu
-Once selected you will be asked to confirm yes or no if you want to clear all data
-If "yes" is selected then the data will be cleared

-Exiting the app:
-Select option 7 from the menu
-Once selected the console app will close, ending your session

Part1

Choose a tag to compare

@liyemaM liyemaM released this 16 Apr 12:50

Instructions to run:


1.Open Visual Studio: Launch Visual Studio.

2.Create a new project: If you haven't already created a project, go to the "File" menu, select "New", and then "Project". Choose "Console App (.NET Core)" or "Console App (.NET Framework)" depending on your preference and name your project.

3.Copy the code: Copy the provided code and paste it into the Program.cs file in your Visual Studio project, replacing the existing code.

4.Save changes: Save the changes by pressing Ctrl + S or going to the "File" menu and selecting "Save All".

5.Build the Solution: Go to the "Build" menu and select "Build Solution" to compile the code. This will check for any syntax errors and create the executable file.

6.Run the Program: Once the solution is successfully built, you can run the program by pressing the shortcut Ctrl + F5 or clicking the "Start" button in the toolbar.

7.Interact with the program: Follow the prompts in the console window to interact with the program. You can choose operations like displaying a recipe, scaling a recipe, resetting the quantities, adding a new recipe, clearing all data, or exiting the program.

8.Exit the Program: Once you're finished testing the program, you can exit by choosing the "Exit" option from the menu or closing the console window.