Skip to content

Part1

Choose a tag to compare

@liyemaM liyemaM released this 16 Apr 12:50
· 2 commits to master since this release

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.