Question: Write a program that prompts the user for the number of exams. It then reads the exam scores from the user, computes the grade average

Write a program that prompts the user for the number of exams. It then reads the exam scores from the user, computes the grade average and the letter grade.
Note: The program allows only positive inputs. If user enter negative input, prompt the user for the input again until the user provides a positive input.
Sample run:
How many exams? 4
Exam 1:50
Exam 2:75
Exam 3:45
Exam 4:80
Your average is 62.50
Your letter grade is D

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!