Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a program to take orders for the Quad sandwich shop. The Quad sandwich shop sells sandwiches and salads. If a customer orders 3 or
Write a program to take orders for the Quad sandwich shop. The Quad sandwich shop sells sandwiches and salads. If a customer orders 3 or more items of the same type, there is a special price. The program should only accept sandwich or salad as valid choices. All other entries are invalid. Sandwiches cost $3.50 each or $2.75 for 3 or more. Salads cost $4.50 each or $3.75 for 3 or more. Using the following sample inputs, write a program that will correctly calculate a persons order. The output should be in US Dollars (so there needs to be the $ and it must display values to two decimal places). Be sure to document the variables, constants and the program source code. Submit the code and one screenshot.
please do in c++
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started