You are getting together with a group of friends for dinner. You decide to meet at...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
You are getting together with a group of friends for dinner. You decide to meet at a local restaurant. Because some people in your group have dietary restrictions, you used the code that you wrote for Project 1 to select a restaurant. Since some of your friends are vegetarian or vegan, you selected Surf Shack Tacos from the list of acceptable restaurants generated by your code. The menu for Surf Shack Tacos is shown below: TRADITIONAL TACOS POLLO ASADO grilled chicken breast topped with guacamole, onion, tomato & cilantro 3.79 CARNITAS slow-cooked pork carnitas topped with cilantro, onion. guacamole & crunchy chicharron (pork grind) 3.79 CARNE ASADA grilled arrachera, pinto beans, guacamole, red onion. cilantro, tomato & house green salsa 4.04 VEGAN, VEGETARIAN CHILE RELLENO beer battered chile guero filled with oaxaca & cotija cheeses, diced tomato, onion, cilantro & a lime aloli 4.04 PORTOBELLO grilled baby portobello mushroom, corn, black beans. pasilla chilies, arugula, red onion & tomato over melted oaxaca & cotija cheeses with cilantro serrano chili aioli (vegan option available) 4.04 Write a C++ program that calculates the total cost of the meal for you and friends, including tip. Your program should do the following: . The program must ask the user for the following information and read in this information for each person in the dining group: the person's first name, and the type of taco(s) and the number of tacos of each type requested by that person. A person can order more than one type of taco. The program should continue to take input for each person in your group until the user is done entering input. Use a loop for this task, with branches inside the loop for the taco selection and cost calculation. The program calculates the total cost of the meal for each group member, including a 20% tip. The program output must be the following: Person's First Name (you will enter this into the program) Total cost of menu items including tip: $xx.xx Person's First Name (you will enter this into the program) Total cost of menu items including tip: $xx.xx Person's First Name (you will enter this into the program) Total cost of menu items including tip: $xx.xx Etc. for all group members You are getting together with a group of friends for dinner. You decide to meet at a local restaurant. Because some people in your group have dietary restrictions, you used the code that you wrote for Project 1 to select a restaurant. Since some of your friends are vegetarian or vegan, you selected Surf Shack Tacos from the list of acceptable restaurants generated by your code. The menu for Surf Shack Tacos is shown below: TRADITIONAL TACOS POLLO ASADO grilled chicken breast topped with guacamole, onion, tomato & cilantro 3.79 CARNITAS slow-cooked pork carnitas topped with cilantro, onion. guacamole & crunchy chicharron (pork grind) 3.79 CARNE ASADA grilled arrachera, pinto beans, guacamole, red onion. cilantro, tomato & house green salsa 4.04 VEGAN, VEGETARIAN CHILE RELLENO beer battered chile guero filled with oaxaca & cotija cheeses, diced tomato, onion, cilantro & a lime aloli 4.04 PORTOBELLO grilled baby portobello mushroom, corn, black beans. pasilla chilies, arugula, red onion & tomato over melted oaxaca & cotija cheeses with cilantro serrano chili aioli (vegan option available) 4.04 Write a C++ program that calculates the total cost of the meal for you and friends, including tip. Your program should do the following: . The program must ask the user for the following information and read in this information for each person in the dining group: the person's first name, and the type of taco(s) and the number of tacos of each type requested by that person. A person can order more than one type of taco. The program should continue to take input for each person in your group until the user is done entering input. Use a loop for this task, with branches inside the loop for the taco selection and cost calculation. The program calculates the total cost of the meal for each group member, including a 20% tip. The program output must be the following: Person's First Name (you will enter this into the program) Total cost of menu items including tip: $xx.xx Person's First Name (you will enter this into the program) Total cost of menu items including tip: $xx.xx Person's First Name (you will enter this into the program) Total cost of menu items including tip: $xx.xx Etc. for all group members
Expert Answer:
Related Book For
Posted Date:
Students also viewed these marketing questions
-
Give the order of magnitude () for the following algorithm. Explain why your answer is correct. GET VALUES for A1, A2, ..., An, and B, B2, ..., Ba Get value of n /* set i equal to 1 */ /* for each of...
-
College basketball is big business, with coaches' salaries, revenues, and expenses in millions of dollars. The file College Basketball contains the coaches* salary and revenue for college basketball...
-
Find the critical values and that correspond to the given confidence level X 2 L and X 2 R sample size. 95%; n = 9
-
Describe how patient autonomy has been impacted by case law and legislative enactments.
-
Cassandra SA's comparative statements of financial position are presented below. Additional information: 1. Net income was ¬23,300. Dividends declared and paid were ¬14,600. 2. Equipment that...
-
One of the changes McDonald's made as part of its reimagining was changing the packaging of the bags and containers. How might these changes influence customer perceptions?
-
Where does Management use Non-GAAP measures? Explain.
-
12 Per review of the applicable SEC filing/document/website (such as the 10K, Proxy, Company Investor Relations Website, Seeking Alpha, etc), what were the Net Cash provided by Operations for the...
-
How does Uncollectible Accounts Expense affect the accounting equation or financial statements?
-
What is the importance of preventive maintenance in infrastructure?
-
Daniel is buying Therese's condo with a conventional mortgage. Prior to settlement, both Daniel and Therese will receive settlement statements detailing their closing costs. Who will provide these to...
-
Post-traumatic stress disorder (ptsd) and critical incident stress disorder (cis)/acute stress disorder are the two most frequently diagnosis' that first responders and victims are diagnosed with...
-
A business had revenues of $280,000 and operating expenses of $315,000. Did the business (a) Incur a net loss (b) Realize net income?
-
What are the differences among an onsite team, a virtual team, a task force, and a committee? What are some of the potential differences in dynamics between people in these different groups?
-
What are the benefits of implementing programs to address cultural competence within a health care organization? What are the costs of not implementing such programs?
-
Over the past month, every member of the Intravenous (IV) Therapy Team has complained to you about the IV Team supervisor. Her direct reports, all RNs, agree that she is technically superb. However,...
Study smarter with the SolutionInn App