Question: Program Write a full menu-driven C program. User will follow the instructions on menu from 1-4. For stable running of the program, please apply the

Program Write a full menu-driven C program. User will follow the instructions on menu from 1-4. For stable running of the program, please apply the instructions as 1,2,3,4. Another option 5, will be used to quit program and program will give warning if user enter a number except these five options. You are asked to write a complete C program with these options in menu: 1- (Create Student List): Asks to user five (5) student name, midterm grade and final grade, 2- (Calculate Average Grades of Students): program will calculate the average of students with "float calculate_average(mid, fin)" function. The formula of average is 40% of midterm and 60% of final exam. 3- (Calculate Class Average): there will be another function "float class_average (float grades[])" for calculating the average grade of class. You will sum average grades of students and then divide by 5 to calculate it. 4- (Display Students Grade List): another "void display_grades(std_inf[][], std grades [10, average_grades[], class_average)" function will be used display the student list. 5- (Quit): will be used to finish program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
