Question: First, complete TRY THIS Exercise 2. Then, if necessary, create a new project named TryThis9 Project, and save it in the Cpp8Chap04 folder. Enter the
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.
Step by Step Solution
3.52 Rating (152 Votes )
There are 3 Steps involved in it
1 TryThis9cpp displays total cost 2 Createdrevised by on 3 4 include 5 using namespace std 6 7 i... View full answer
Get step-by-step solutions from verified subject matter experts
