Question: For assignment # 1, you will need to write a menu-driven system to enable an instructor to keep track of the students registered for a
For assignment # 1, you will need to write a menu-driven system to enable an instructor to keep track of the students registered for a class and their grades. This assignment should make use of an array data structure to keep track of students names and grades (e.g. A, B, etc.). You can use a 2-dimensional static array of strings. You do not need to use classes for this assignment as classes will be the subject of assignment # 2. However, if you would like to use classes, that is fine. Your program should use functions (global or class functions) to implement each option on the menu. The maximum array size is 100 (use a global constant)
Use a students ID as a subscript to the array. Make sure you validate the ID before attempting to access the array. The ID should be between 0 and 99. The menu should look as follows:
1. Add a student 2. Change a grade 3. Search by ID 4. Remove a student 5. Print class roster 6. Exit Please enter your choice --->
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
