Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Joline Morrison, Mike Morrison

2nd Edition

? 061906448X, 978-0619064488

More Books

Students also viewed these Databases questions

Question

How do rapid growth firms deal with potential cash flow shortfalls?

Answered: 1 week ago

Question

Why do HCMSs exist? Do they change over time?

Answered: 1 week ago