Please answer in a clear way
1. Write a program do the following: a. Write a function to print the HW details passing the needed parameters and has no return. b. Write a function that gets student grades and ID (maximum number of student is 20) then the function has a switch statement to enable the user to choose one of the following operation: i. Call Max Min function to find and print the maximum and minimum grades as well as their ID ii. Call function Average to return the average grade of the class. iii. Call mark function to print students ID, their grades and marks (as in the below table) iv. Call Sort function to sort the student ascending or descending based on their grades. The program will repeat the operation tile the user wish to terminate the program. Note: Student's grades are between 0 and 100 (use data validation technique). You will get zero if you don't use comments and print HW details (your name, course name, course number, HW number and due dates). Item Grade Greater than 90 Greater than 80 and less than or equal to 90 3 Greater than 70 and less than or equal to 80 Greater than or equal to 60 and less than or equal to 70 Less than 60 Mark 1 2 4 5 F 1. Write a program do the following: a. Write a function to print the HW details passing the needed parameters and has no return. b. Write a function that gets student grades and ID (maximum number of student is 20) then the function has a switch statement to enable the user to choose one of the following operation: i. Call Max Min function to find and print the maximum and minimum grades as well as their ID ii. Call function Average to return the average grade of the class. iii. Call mark function to print students ID, their grades and marks (as in the below table) iv. Call Sort function to sort the student ascending or descending based on their grades. The program will repeat the operation tile the user wish to terminate the program. Note: Student's grades are between 0 and 100 (use data validation technique). You will get zero if you don't use comments and print HW details (your name, course name, course number, HW number and due dates). Item Grade Greater than 90 Greater than 80 and less than or equal to 90 3 Greater than 70 and less than or equal to 80 Greater than or equal to 60 and less than or equal to 70 Less than 60 Mark 1 2 4 5 F