Write an algorithm to compute a student's average grade for a course. The average grade is a weighted average of the various exams and assignments in the course. i. Homework Assignments - Weight is 50, maximum score is 120 ii. Midterm exam - Weight is 20, maximum score is 75 iii. Final exam - Weight is 30, maximum score is 100 As an example, if a student scores 100 on the Homework Assignments, 55 on the Midterm exam and 85 on the Final exam, then their average grade is rounded to 82.