This program in C++ 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. Additional Requirements: • Use appropriate data types and variable names throughout the code. • Use constants appropriately. Output needs to look like the image below.
This program in C++ 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
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.
Additional Requirements:
• Use appropriate data types and variable names throughout the code.
• Use constants appropriately.
Output needs to look like the image below.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 3 images