Question: MAKE A C PROGRAM. DONT USE AI ! ! ! ! ! ! pls dont make it too complicated QUESTION - Stock Management Program You
MAKE A C PROGRAM. DONT USE AI
pls dont make it too complicated
QUESTION Stock Management Program
You have been tasked You have been tasked with creating a student management program. This is a menu
driven system with five options: Add Student, Get Student, List Students, Change Student Name, and Exit.
Examples of students include John, Sarah, and Mike. Assume that the school can store records for up to
students. Use one array to store the names of the students and a twodimensional array to store the ID numbers
and grade averages. The indices of both arrays correspond to the same student. For example, represents two students: the first with ID number and an average grade of and the second with ID number and an average grade of
Functionality:
Add Student:
When this option is selected, the user will input the student's name.
The system will generate a random ID number between and
The user will also input the student's average grade.
Get Student:
When this option is selected, the system will prompt for the student's ID number.
The system will search the ID number array. If found, it will display the corresponding student name and
average grade.
Example Output:
Student ID: #
Name: Mike
Average Grade:
Name: ID#:
List Students:
When this option is selected, the program will list all the students along with their ID numbers and current
average grades.
Example Output:
ID# Name Average Grade
John
Sarah
Change Student Name:
When this option is selected, the user will be prompted to enter the student's ID number.
The system will search the ID number array. If the ID is found, the user will be able to enter a new name for
the student.
Example Output:
Enter Student ID:
Current Name: John
Enter New Name: Jonathan
Name Updated!
Exit:
This option will exit the program.
Implementation:
Develop the program in C utilizing arrays to handle the student records. An array of size will store the student names, and a twodimensional array will store both the ID numbers and their corresponding average grades. The indices of the arrays should align, meaning that the ID number and average grade of a student at a specific index correspond to the student name at the same index.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
