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 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) CATEGORY BREAD MEAT CHEESE VEGGIE SAUCE DRINK star Turke heddar Tomato rite BItalianTun 4lWaterOPTIONS Let the user select a MENU OPTION (the number for the selected option) for each CATEGORY above. Enter your choice for BREAD: Enter your choice for MEAT: Enter your choice for CHEESE: Enter your choice for VEGGIE: [VEGGIE] Enter your choice for SAUCE: Enter your choice from DRINK: 2. [BREAD] [CHEESE SAUCE 3. Output the order confirmation (using the name/textual version for the selected option without outputting "NONE" or the leading comma for that particular category if the selected option is NONE, and outputting "salad" instead of "sandwich on NONE if the bread is e/NONE) in this format You ordered a sandwich on You ordered a salad with with 4. Compute the COST of the food (sandwiches are $6, salads aka no bread are $7 and drinks are an additional $2) and output it in this format Your balance is: ECOST] For example f the iset selects for BREAD, 2 for MEAT,4for CHEESE, for VEGGIE,O for SAUCE, You ordered a sandwich on and 4 for DRINK with Your balance is: for BREAD, 1 for MEAT, for CHEESE, for VEGGIE, for SAUCE | You ordered salad with i el, lettuce Ranch. a Your balance is: and for DRINK for BREAD, O for MEAT. 4 for CHEESE, for VEGGIE, 0 for SAUCE, You ordered a sandwich on with Your balance is: and 0 for DRINK You should write the program in Visual Studio 2017 (using only concepts learned in class) and you should call your project urName-Assignment2A (replace YourName with your actual name, no spaces). Create a Microsoft Word document called YourName-Assignment2A-Screenshots.docx (replace YourName with your name, no spaces) that contains screenshots of your entire C++ code (take multiple screenshots if the code is larger than one screen), and the entire console output(take multiple screenshots if the output is larger than one window) SUBMIT your YourName-Assignment2A.cpp Visual Studio 2017 C source code and YourName-Assignment2A Screeshots.docx screenshots document files under Assignment2A on eCampus. Do not archive the files or submit other file formats. 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) CATEGORY BREAD MEAT CHEESE VEGGIE SAUCE DRINK star Turke heddar Tomato rite BItalianTun 4lWaterOPTIONS Let the user select a MENU OPTION (the number for the selected option) for each CATEGORY above. Enter your choice for BREAD: Enter your choice for MEAT: Enter your choice for CHEESE: Enter your choice for VEGGIE: [VEGGIE] Enter your choice for SAUCE: Enter your choice from DRINK: 2. [BREAD] [CHEESE SAUCE 3. Output the order confirmation (using the name/textual version for the selected option without outputting "NONE" or the leading comma for that particular category if the selected option is NONE, and outputting "salad" instead of "sandwich on NONE if the bread is e/NONE) in this format You ordered a sandwich on You ordered a salad with with 4. Compute the COST of the food (sandwiches are $6, salads aka no bread are $7 and drinks are an additional $2) and output it in this format Your balance is: ECOST] For example f the iset selects for BREAD, 2 for MEAT,4for CHEESE, for VEGGIE,O for SAUCE, You ordered a sandwich on and 4 for DRINK with Your balance is: for BREAD, 1 for MEAT, for CHEESE, for VEGGIE, for SAUCE | You ordered salad with i el, lettuce Ranch. a Your balance is: and for DRINK for BREAD, O for MEAT. 4 for CHEESE, for VEGGIE, 0 for SAUCE, You ordered a sandwich on with Your balance is: and 0 for DRINK You should write the program in Visual Studio 2017 (using only concepts learned in class) and you should call your project urName-Assignment2A (replace YourName with your actual name, no spaces). Create a Microsoft Word document called YourName-Assignment2A-Screenshots.docx (replace YourName with your name, no spaces) that contains screenshots of your entire C++ code (take multiple screenshots if the code is larger than one screen), and the entire console output(take multiple screenshots if the output is larger than one window) SUBMIT your YourName-Assignment2A.cpp Visual Studio 2017 C source code and YourName-Assignment2A Screeshots.docx screenshots document files under Assignment2A on eCampus. Do not archive the files or submit other file formats
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
