Problem

Follow the instructions for starting C++ and viewing the Introductory24.cpp file, which...

Follow the instructions for starting C++ and viewing the Introductory24.cpp file, which is contained in either the Cpp7\Chap07\Introductory24 Project folder or the Cpp7\ Chap07 folder. (You may need to open the project/solution file first.) If necessary, delete the two forward slashes that appear before the system("pause"); statement. Complete the program by entering a while clause that processes the loop instructions as long as the user enters the letter Y in either uppercase or lowercase. Save and then run the program. Test the programusing the following three sets of data: y and 100, Y and 200, and n.The total salesamount should be $300. Run the programagain.When you are askedwhether you want to enter a sales amount, typeN and press Enter. Notice that you were not asked to enter the sales amount. Explain why.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search