Machine Problem

Write a program that will ask the student to input the Prelim, Midterm, and Final grades and then, the program will compute the grade and display the result on the screen. The percentage on every grading period are the following: For Prelim, it will be 20%, Midterm will be 30%, and Finals will be 50%.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details. If you want to advertise on my website, kindly contact me also at my email address also. Thank you.

My email address is and

My mobile number here in the Philippines is 09173084360.

Program Listing

# Jake Rodriguez Pomperada, MAED-IT, MIT
# May 24, 2021   Monday
# Bacolod City, Negros Occidental

print("\tAverage Grade Solver in Python");
subject = input('\tWhat is the subject? ');
prelim = float(input('\tGive Prelim Grade : '));
midterm = float(input('\tGive Midterm Grade : '));
final = float(input('\tGive Final Grade : '));
solve_grade= (prelim * 0.20) + (midterm * 0.30) + (final * 0.50);
print("\t===== DISPLAY RESULTS =====");
print("\tThe subject is" ,subject,'.');
print("\tThe subject grade is {:2.2f}".format(solve_grade));
print("\tEND OF PROGRAM");

Leave a Reply

Your email address will not be published. Required fields are marked *