Question: ASSIGNMENT 2A Write a program called [YourName]-Assignment2A (replace [YourName] with your actual name, no spaces) that can be used in a sandwich making restaurant to
![ASSIGNMENT 2A Write a program called [YourName]-Assignment2A (replace [YourName] with your](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f023c60a2d0_82966f023c5734b9.jpg)
ASSIGNMENT 2A Write a program called [YourName]-Assignment2A (replace [YourName] with your actual name, no spaces) that can be used in a sandwich making restaurant to make and confirm orders The program should 1. Display the menu bellow (in the table format, no lines needed) BREAD MEAT CHEESE SAUCE DRINK CATEGORY 1 Wheat 2 Sourdough 3 Italian 4Honey Oat 5 Flatbread 1Ham 2 Turk 3 Chicken 4Tuna 5 Vegetarian 5 NONE 1 Coke 2 Sprite 3 Dr.Pepper 4 Bottled Water 5 NONE 1 American 2 Cheddar 3 Mozzarella 4 Provolone 1 Mustard 2 Vinegar 3 Ma 4 Ranch 5 NONE OPTIONS 2. Let the user select a MENU OPTION (the number for the selected option) for each CATEGORY above Enter your choice for BREAD[BREAD Enter your choice for MEAT Enter your choice for CHEESE: [CHEESE] Enter your choice for SAUCE Enter your choice from DRINK MEAT] SAUCE DRINK 3. Compute the COST of the food: sandwiches are $6 and drinks are an additional $2 Output the order confirmation (using the name/textual version for the selected option and not outputting "NONE" or the leading comma for that particular category if the selected option is NONE) and the price in this format: You ordered a sandwich on Your balance is 4. with an For example, if the user selects 1 for BREAD, for MEAT, 4 for CHEESE, 5for SAUCE, and 4 for DRINK, the output should You ordered a sandwich on with an Your balance is: $B In addition to the complete CPP code ([YourNamel-Assignment2A.cpp), you should submit a screenshot Word document YourNamel-Assignment2A. docx) that contains screenshots of your full C++ code (take multiple screenshots if the code is larger than one screen), and the full console output (take multiple screenshots if the output is larger than one window) Submit your [YourName Assignment2ACpp and YourNamel-Assignment2?.docx files under Assignment2A on eCampus
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
