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. • Adhere to the style guidelines for the class • Adhere to proper style & structure guidelines for the class • The goal of this assignment is to demonstrate the use of selection and repetition statements, so please be careful in choosing the correct constructs.
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.
• Adhere to the style guidelines for the class
• Adhere to proper style & structure guidelines for the class
• The goal of this assignment is to demonstrate the use of selection and repetition
statements, so please be careful in choosing the correct constructs.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images