Create a grading program in C as follows. - Ask the user for the number of students and store it in an integer variable. - Create an array of floats with four rows and columns equal to the number of students stored earlier. - Initialize the array to zeros. Create a menu with the following options (use a do-while loop and repeatedly display the menu):
Create a grading
- Ask the user for the number of students and store it in an integer variable.
- Create an array of floats with four rows and columns equal to the number of students stored
earlier.
- Initialize the array to zeros.
Create a menu with the following options (use a do-while loop and repeatedly display the menu):
A or a to add student info one student at a time
T or t to display class average for homework
S or s to display class average for quizzes
B or b to display class average for exams
Z or z to exit program (program repeats until this exit command is entered)
The information for each student is: student number, homeworks grade, quizzes grade, and exams
grade.
Trending now
This is a popular solution!
Step by step
Solved in 5 steps with 3 images