Problem 1 (15 points) Write a function called calc_grade that takes three doubles as paramaters. The function calculates the sum of one quarter the first parameter, one quarter the second parameter, and one half the third parameter. Then it returns that sum. ------------------------------------------------------------------------------ Problem 2 (15 points): Write a function called adjust_grade that takes a double and a character as parameter. The function should add 5 to the first parameter if the second parameter is a y. It does not return anything. ------------------------------------------------------------------------------ Problem 3 (40 points): Write a function called pass_class which has no parameters. The function reads in the grade of a person on two homework assignments and one exam. For each of the homeworks, it asks if the person handed it in early (answer y or n). It adds five points to the grade of each homework that is handed in early. Then it calculates the class grade of the person, using the adjusted homework grades and the exam grade. The scheme for computing the class grade is that the two adjusted homeworks are worth 25% and the exam is worth 50%. It returns true if the person passes the class and false if the person doesn't (A person needs a class grade of at least 60 to pass the class). [This function must call the functions from the previous two problems.] ------------------------------------------------------------------------------ Problem 4 (30 points): Write a program which reads in the homework and exam grades for 100 people, using the function from the previous problem. Then it prints out how many of the 100 people pass the class. ------------------------------------------------------------------------------