Question: 1-)Write a program that continuously request a grade to be entered. If the grade is less than 0 or greater than 100, your program should
1-)Write a program that continuously request a grade to be entered. If the grade is less than 0 or greater than 100, your program should print an appropriate message informing the user that an invalid grade has been entered; else, the grade should be added to a total. When the grade of 999 is entered, the program should exit the repetition loop and compute and display the average of the valid grades entered.
Requirements:
1-Add comments to source code
2-Prompt the user for the grade.
3-Use constant variables as needed.
4- Copy and paste the source code and verify the program by using appropriate test data ( test runs) into this Ms. Word document.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
