Skill set for this LAB:
Problem 1: Write a function that finds minimal and maximal value among three parameters. Apply the function for 9 inputs. Rewrite the program writing separate funtion for minimal and separate function for maximal.
Problem 2: Solve question 2 on page 153
Problem 3 : Write a program that calculates the final grade in TWO different courses. For the first course, the final grade is an average of midterm grade and homework grade. For the second course, the final grade is 15% of the quizzes, 35% of the homework and 50% of the midterm. Write a separate function for each course. Write main function that first reads one intereger, even number - indicates to calculate the grade in course 1 and odd number - indicates to calcualte the grade in course 2. For each choice, the program reads all required input (2 grades for the first course and 3 grades for the second course). Use two functions you wrote to output the final grade for course 1 or course 2 based on the first input. Assume that input grades are INTEGERS, but your final grade must be of FLOAT type. Display final grades with 3 digits after decimal point. Use global constants for percent values.