Write a program that ask on four exams. The program should display the four grades the user to enter a student's grades and the average of the four grades, rounded to the nearest tenth. To add the grades, use a variable called total_grade, which you should initialize to zero. As the program prompts for and obtains each grade, add the grade to total_grade using the += operator.
Comments
Leave a comment