If necessary, create a new project named TryThis18 Project and save it in the Cpp7\Chap11 folder. Enter the C++ instructions shown earlier in Figure 11-23 into a source file named TryThis18.cpp. Change the filename in the first comment to TryThis18.cpp. Save and then run the program. Create a void function named getAverage. The getAverage function should calculate the average number of pounds of coffee used. Hint: Pass the average variable by reference. (The answers to TRY THIS Exercises are located at the end of the chapter.)
REFERENCE : FIGURE 11-23
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.