If necessary, create a new project named Advanced19 Project, and save it in the Cpp8Chap06 folder. Enter
Question:
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 Answer:
Microsoft Visual C# An Introduction to Object-Oriented Programming
ISBN: 978-1337102100
7th edition
Authors: Joyce Farrell