In this exercise, you will modify the program from Lab10-2. If necessary, create a new project named

Question:

In this exercise, you will modify the program from Lab10-2. If necessary, create a new project named Intermediate20 Project, and save it in the Cpp8\Chap10 folder. Copy the instructions from the Lab10-2.cpp file into a source file named Intermediate20.cpp. (Alternatively, you can enter the instructions from Figure 10-22 into the Intermediate20.cpp file.) Change the filename in the first comment to Intermediate20.cpp. Patterson Windows is now offering another pricing option: BOGOHO (buy one, get one half-off). Modify the program to allow for this new pricing option. Use a void function named getBoGoHo. Test the program appropriately.

1 //Lab10-2.cpp - displays total owed 2 //Created/revised by  on  3 4 #include  5 #include  6 using namespace std; 7 8 //function prototypes 9 void displayOptions(); 10 void getRegular (int windows, double price, double &total1); 11 void getBoGo(int windows, double price, double &total); 12 13 int

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: