Problem

In this exercise, you modify the program from Lab 7-2 in Chapter 7. If necessary, create...

In this exercise, you modify the program from Lab 7-2 in Chapter 7. If necessary, create a new project named Introductory16 Project and save it in the Cpp7\Chap10 folder. Copy the instructions from the Lab7-2.cpp file into a source file named Introductory16.cpp. (The Lab7-2.cpp file is contained in either the Cpp7\Chap07\Lab7-2 Project folder or the Cpp7\Chap07 folder. Alternatively, you can enter the instructions from Figure 7-52 into the Introductory16.cpp file.) Change the filename in the first comment to Introductory16.cpp. Modify the program so that it uses a void function to determine the grade. Save and then run the program. Test the program using the following scores and sentinel value: 45, 40, 41, 96, 89, and –1. The total points and grade should be 311 and B, respectively.

REFERENCE: Figure 7-52

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