The Restaurant Menu System is a simple C++ console application that simulates a restaurant ordering system. Users can browse different food categories, select menu items, view their running total, and proceed to checkout. This project was created to practice fundamental C++ programming concepts, including loops, switch statements, conditional logic, and user input/output.
- C++
- Visual Studio Code
- C++ Standard Library (iostream)
- Loops – Used do-while loops to repeatedly display the menus until the user chooses to go back or exit the program.
- Switch Statements – Used nested switch statements to navigate between the main menu and food categories.
- Conditional Statements – Used if statements to determine whether the user wants to proceed to checkout.
- Variables – Used variables to store the user's menu selections, checkout option, and total order cost.
- Boolean Variables – Used a bool variable (menu) to control when the program should continue running or terminate.
- Arithmetic Operators – Used the += operator to continuously update the total cost of the order.
- User Input and Output – Used cin for user input and cout for displaying menus and order details.
- Display the main restaurant menu with food categories.
- Allow the user to choose between Combo Meals, Snacks & Sides, or Exit.
- Display the selected category's menu.
- Let the user add food items to their order.
- Update and display the current total after each item selected.
- Allow the user to return to the main menu.
- Ask whether the user wants to proceed to checkout.
- If the user selects Yes, display the final total and a thank-you message.
- If the user selects No, return to the main menu and continue ordering.
- End the program when the user checks out or selects Exit.
- How to use nested switch statements to create menu-driven programs.
- How to control program flow using do-while loops.
- How to accumulate values using arithmetic operators.
- How to use Boolean variables to manage program execution.
- How to create a simple ordering and checkout system.
- How to organize a console application with multiple menus.
- Allow users to order multiple quantities of each menu item.
- Display an itemized receipt instead of only the total.
- Add drinks and desserts as additional menu categories.
- Validate user input to prevent invalid entries.
- Implement functions to reduce repeated code.
- Add payment processing and calculate change.
- Save order history using file handling.
- Step 1: Open the project in Visual Studio Code or any C++ IDE.
- Step 2: Compile the program using a C++ compiler.
- Step 3: Run the program.
- Step 4: Select a menu category.
- Step 5: Choose the food items you want to order.
- Step 6: Return to the main menu or proceed to checkout.
- Step 7: View your total and complete the order.




