How to write program that takes in a numeric grades of student in class.y As students in class vary semester to semester, you will keep track of students grades you input.
Use loop and do:
1. Read in a numeric grade from a student. 2. Convert the numeric grade to a letter grade using the grade policies. 3. Keep a running total of the numeric grades entered. 4. Keep a count of the number of grades entered. 5. Issue a message that comments on the letter grade earned. for example, you may write "You made an F! Obviously you did not study!" 6. At the end the program will calculate a class average unless there were no grades entered.
The output of the program will include the individual grades converted, the message issued to the student, a class average, and the number of grades entered.
Idea: Run a while loop inside which ask the user for the grade. If it is -1, break out of the loop. Else, convert it... View the full answer
- Thank you for great explanation .
- Oct 04, 2018 at 8:38am