In this activity, you are asked to create an application for educational institutes to assist the student services and administrations to manage students' grades and monitor their performance (grades are integers and out of 100).
Each institute in each semester has a different number of programs, a different number of classes/courses, and a different number of students in each class; therefore, your application will ask the user to insert the number of the programs along with the name of the programs, the number of classes in each program, and the number of students in each class from the user.
Student services would like to monitor the performance of each class separately by having the average grade of the students in each class and the highest and the lowest grades in each class/course. Besides, in each program, the courses/classes with the best and worst performances will be announced.
As another parameter to be considered, student services would like to make a comparison between all the available programs; however, not only the number of courses in each program is different the weight of each course that is represented as the number of units or credit hours are different; therefore, the number of units for each course would be another user input.
To calculate the average grades in each program/department, the given formula below will be used:
Average Grade in Each Program = (Sum(Credit Hour * Course Average Grade))/The total number of Credit Hours in Each Program
The credit hours range of the different courses is from 1 credit hour to 5 credit hours which represents the importance and the weights of each course. Please, take into consideration the wrong input from the user such as negative numbers, zero, and numbers more than 5.
You need to make sure the least amount of memory will be used by this application.
Your code must have a very clean structure, separated and determined functions, and must have brief comments explaining each section of your code.
C program
In this activity, you are asked to create an application for educational institutes to assist the student services and administrations to manage students' grades and monitor their performance (grades are integers and out of 100).
Each institute in each semester has a different number of programs, a different number of classes/courses, and a different number of students in each class; therefore, your application will ask the user to insert the number of the programs along with the name of the programs, the number of classes in each program, and the number of students in each class from the user.
Student services would like to monitor the performance of each class separately by having the average grade of the students in each class and the highest and the lowest grades in each class/course. Besides, in each program, the courses/classes with the best and worst performances will be announced.
As another parameter to be considered, student services would like to make a comparison between all the available programs; however, not only the number of courses in each program is different the weight of each course that is represented as the number of units or credit hours are different; therefore, the number of units for each course would be another user input.
To calculate the average grades in each program/department, the given formula below will be used:
Average Grade in Each Program = (Sum(Credit Hour * Course Average Grade))/The total number of Credit Hours in Each Program
The credit hours range of the different courses is from 1 credit hour to 5 credit hours which represents the importance and the weights of each course. Please, take into consideration the wrong input from the user such as negative numbers, zero, and numbers more than 5.
You need to make sure the least amount of memory will be used by this application.
Your code must have a very clean structure, separated and determined functions, and must have brief comments explaining each section of your code.
C program