Instructions Flowchart, implement in C++ & test the problem outlined in the problem statement. Submit the solution into Canvas. This program obtains a series of letter grades as input from a user. The...


Instructions Flowchart, implement in C++ & test the problem outlined in the problem statement. Submit the

solution into Canvas.



This program obtains a series of letter grades as input from a user. The program should calculate

and output the total grade points and the grade point average (note: you may have to track the

total number of inputs and the grade points to calculate the grade point average). The

algorithm should execute 3 times for testing purposes.

Use the appropriate loop for the main structure of the program that will stop accepting letter

grades when the user inputs X. Also, choose the appropriate selection statement to convert the

letter grade to the correct grade points.


8TEST CASE # 1:<br>9<br>Enter Letter Grade #1: A<br>10<br>Enter Letter Grade #2: b<br>Include the class<br>11<br>Enter Letter Grade #3: C<br>heading for all<br>assignments & labs.<br>(use your name and etc)<br>12<br>Enter Letter Grade #4: X<br>13<br>14Total Grade Points: 9<br>15GPA: 3.00<br>This should be output<br>16<br>from your code<br>(see the eclipse lab)<br>17<br>18TEST CASE # 2:<br>19<br>Enter Letter Grade #1: a<br>20<br>Enter Letter Grade #2: b<br>21<br>Enter Letter Grade #3: A<br>22<br>Enter Letter Grade #4: d<br>23<br>Enter Letter Grade #5: C<br>24<br>Enter Letter Grade #6: F<br>25<br>Enter Letter Grade #7: a<br>26<br>Enter Letter Grade #8: X<br>27<br>28Total Grade Points: 18<br>29GPA: 2.57<br>30<br>31<br>32TEST CASE # 3:<br>33<br>Enter Letter Grade #1: X<br>Nothing should output below<br>when 'X' is the first input<br>34<br>35<br>

Extracted text: 8TEST CASE # 1: 9 Enter Letter Grade #1: A 10 Enter Letter Grade #2: b Include the class 11 Enter Letter Grade #3: C heading for all assignments & labs. (use your name and etc) 12 Enter Letter Grade #4: X 13 14Total Grade Points: 9 15GPA: 3.00 This should be output 16 from your code (see the eclipse lab) 17 18TEST CASE # 2: 19 Enter Letter Grade #1: a 20 Enter Letter Grade #2: b 21 Enter Letter Grade #3: A 22 Enter Letter Grade #4: d 23 Enter Letter Grade #5: C 24 Enter Letter Grade #6: F 25 Enter Letter Grade #7: a 26 Enter Letter Grade #8: X 27 28Total Grade Points: 18 29GPA: 2.57 30 31 32TEST CASE # 3: 33 Enter Letter Grade #1: X Nothing should output below when 'X' is the first input 34 35

Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here