Question
If necessary, create a new project named Advanced19 Project, and save it in the Cpp8Chap06 folder. Enter (or copy) the instructions from the Lab6-2.cpp file
If necessary, create a new project named Advanced19 Project, and save it in the Cpp8\Chap06 folder. Enter (or copy) the instructions from the Lab6-2.cpp file into a new source file named Advanced19.cpp. Be sure to change the filename in the first comment. The program should now begin by determining the number of medium pizzas and the number of large pizzas the customer is ordering. Be sure to verify that both numbers are greater than or equal to 0. Rather than displaying the price of one pizza, the program should display the number of pizzas ordered and the total cost of the order. The $2 coupon toward the purchase of a large pizza can be used only once. If a customer orders more than four pizzas, the program should deduct 10% from the cost of the order. Modify the program appropriately, and then save, run, and test it.
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