Problem

The answer to TRY THIS Exercise 2 is shown in Figure 4-39 at the end of the chapter. If...

The answer to TRY THIS Exercise 2 is shown in Figure 4-39 at the end of the chapter. If necessary, create a new project named TryThis9 Project and save it in the Cpp7\Chap04 folder. Enter the C++ instructions from the figure into a source file named TryThis9.cpp. Also enter appropriate comments and any additional instructions required by the compiler. Save and run the program. Test the program using .50 as the cup price, 1.05 as the plate price, 35 as the number of cups purchased, and 35 as the number of plates purchased. The answer should be $57.2338. (Don’t be concerned if your answer has more decimal places.) Then test it using .25, .75, 20, and 10. (The answers to TRY THIS Exercises are located at the end of the chapter.)

REFERENCE : FIGURE 4-39

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
Solutions For Problems in Chapter 4