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

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[][], average_grades[], class average)" function will be used display the student list. 3- (Quit): will be used to finish program collate e average -DIST 5 Jarit Grade 13 na make your choirol Enter 1. Student Name that inter midterm grade: 90 inter final erade:15 Enter 2. Student Nane i Mahnet Enter midterm grade: 71 inter final grade:62 Enter ). Student Name: Marve Enter midterm grade: 75 Enter final grade:68 Enter 4. Student Name:80sra Enter midterm grade:41 Enter final grade:68 Enter 5. Student Name: Emre Enter midterm grade:45 Enter final grade:98 Enter 5. Student Name: Emre Enter midterm grade:45 Enter final grade:90 1-Create Student List 2-Calculate Average Grades of Students 3-Calculate Class Average 4-Display Students Grade List 5-Quit Please make your choice:2 Calculating Average Grades... Completed.. 1-Create Student List 2-Calculate Average Grades of Students 3-Calculate Class Average 4-Display Students Grade List 5-Quit Please make your choice: 1-Create Student List 2-Calculate Average Grades of Students 3-Calculate class Average 4-Display Students Grade List 5-Quit Please make your choice:3 Calculating Class Average... Completed.. 1-Create Student List 2-Calculate Average Grades of Students 3-Calculate class Average 4-Display Students Grade List 5-Quit Please make your choice: Calculating Class Average... Completed.. 1-Create Student List 2-Calculate Average Grades of Students 3-Calculate class Average 4-Display Students Grade List 5-Quit Please make your choice:4 -- Student List ------- Student Midterm Nihat 90 Mehmet 71 Merve 75 Bra 41 Emre 45 Final 75 63 68 68 90 Average 81,00 66,20 70.80 57,20 72.00 Class average is- 46.60 Student list........ Student Midterm Nihat Mehmet 71 Nerve 75 Busra Emre 45 Final 75 63 68 Average 81.00 66.20 70.80 57.20 72.ee 68 90 Class average is. 46.68 1-Create Student List 2-Calculate Average Grades of Students 3-Calculate Class Average --Display Students Grade List 5-Quit please make your choice:5 Quiting... Process exited after 232.3 seconds with return value e Press any key to continue

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!