TEST CASE # 1: Enter Letter Grade #1: A Enter Letter Grade #2: b Include the class Enter Letter Grade #3: C heading for all assignments & labs. (use your name and etc) Enter Letter Grade #4: X Total Grade Points: 9 GPA: 3.00 This should be output from your code (see the eclipse lab) TEST CASE # 2: Enter Letter Grade #1: a Enter Letter Grade #2: b Enter Letter Grade #3: A Enter Letter Grade #4: d Enter Letter Grade #5: C Enter Letter Grade #6: F Enter Letter Grade #7: a Enter Letter Grade #8: X Total Grade Points: 18 GPA: 2.57 TEST CASE # 3: Enter Letter Grade #1: X Nothing should output below when 'X' is the first input

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

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:
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
Transcribed Image 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
Expert Solution
steps

Step by step

Solved in 4 steps with 4 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY