Question
I have my c++ code for the problem that is given below. But i need help to follow this instructions. I also need output when
I have my c++ code for the problem that is given below. But i need help to follow this instructions.
I also need output when the coupon is not used. There are no function prototypes. Also functions should appear at the end after the main body
in this exercise, you will modify the program that you createdin the chapter 6's lab 6-2. If necessary create a newproject named Intermediate21 oroject, and save it in the cpp8\Chap09 folder. copy the instructions from lab 6-2.cpp file into a source file named Intermediate21.cpp. Change the file name in the first commnet. Dodify the program so that it uses two value-returning functions: one to calculate and return the price of a medium pizza and the other to calculate and return the price of large pizza. In addition to the $2 coupon on the purchase of a large pizza. Sophia is now emailing a customers a $1 coupon on the purchase of a medium pizza. Test the program appropriately.
Here is the lab 6-2
Here is the code for this program:
#include Output: M(edium) or L(arge) pizza? M $1 coupon (Y/N)? Y Price: $8.99 M(edium) or L(arge) pizza? L $2 coupon (Y/N)? Y Price: $10.99 This program is right but i need to include these things. Please help me. I also need output when the coupon is not used. There are no function prototypes. Also functions should appear at the end after the main body
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