Question: IN C PROGRAMMING LANGUAGE Write a simple grade calculator for a group of students with statistics and search functions. Each student will have the following
IN C PROGRAMMING LANGUAGE Write a simple grade calculator for a group of students with statistics and search functions.
Each student will have the following characteristics Student name Student ID (one whole number) Exm Grade last Ex am Grade Course Grade (0.4 firstexm + 0.6 last Exm) Pass / Fail Status (Pass if Course Grade> 60) The program should display a menu (on the console) with the following options * Add a new record * Find a record * Show basic statistics * Exit * (Optional) Delete a record You can assign letters to each option (e.g. Q, q to exit)
* Add new record: When selected, the user will be asked to enter a name, student ID, first ex am and final grade. The program will then calculate the course grade and pass / fail status for that student and maintain the structure. * Find an entry: When selected, the user will be prompted to enter their student ID and the program will show the name, ID, midterm grade, final grade, course grade, and pass / fail status for that student. If not found, show that the recording does not exist. * Show basic statistics: Based on all entries, it will calculate and display statistics (number of students passed, failed students and average course grade, number of students) * Exit: When selected, exits the program. The recordings will be deleted automatically as they are not saved in a file. (DO NOT apply saving to file.)
Notes: The application will have an endless loop and the menu will be displayed after each action. The user must choose from three options by entering the corresponding character ("A" - Add new entry, "S" - Show statistics, "Q" - Exit) Must accept both lowercase and uppercase letters for option selection. Remember to follow the homework submission rules.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
