Question: CSE1233 Programming assignment 3 Calculating Your GPA Objectives: To write a program that asks the user for input To write a program that uses the

CSE1233 Programming assignment 3 Calculating Your GPA Objectives: To write a program that asks the user for input To write a program that uses the C math operators correctly To write a program that chooses output based on previous calculations Assignment You are to write a program that will calculate a student's GPA. The program should prompt the user for the number of hours of each letter grade. Those numbers should be used to calculate the user's GPA. Grade Quality Points To calculate a student's GPA, you multiply the number of hours of . each grade by the quality points for that grade. Then you divide the total number of quality points by the number of hours. For example, if a student has 3 hours of As, 6 hours of Bs, and 3 hours of Fs, their GPA is 34+ (6-3) + (3 0) = 2.5 12 After the GPA is calculated, the GPA should be displayed to the user. A message determined by the user's GPA should also be displayed. Only one message should be displayed. GPA Greater than or equal to 3.5 Greater than 3.0 Greater than 2.0 Otherwise Message | You should be in an honor society! | That is very good. |Keep up the good work. Have you thought about getting a tutor? I I The input prompts and output statements must match those shown in the Sample Executions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
