First, complete TRY THIS Exercise 2. Then, if necessary, create a new project named TryThis9 Project, and

Question:

First, complete TRY THIS Exercise 2. Then, if necessary, create a new project named TryThis9 Project, and save it in the Cpp8\Chap04 folder. Enter the C++ instructions from TRY THIS Exercise 2 into a source file named TryThis9.cpp. Also enter appropriate comments and any additional instructions required by the compiler.

Test the program using 1.05, 1.65, 10, and 7 as the latex price, Mylar price, number of latex purchased, and number of Mylar purchased, respectively. (Do not be concerned that the output has three decimal places. You will learn how to format numbers in Chapter 5.) Then test it using your own set of data.

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

Step by Step Answer:

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