Write a program that will declare a Student structure datatype (shown below). The program will ask the user for 10 records of type Student. The program will have the following Menu Items that the user can execute: *******MENU*** 1. SEARCH 2. EDIT a Record 3. SORT the Array of Record 4. QUIT CHOICE: Search Menu Item: This will ask the user for a Surname of a student, and output the record of student/s that equals to the query surname Edit a Record Menu Item: This will also ask for Student Number(Unique Identifier), if the Student Number is present in the array of records, the user will be ask to edit all the information about that particular record. Sort the Array of Record Menu Item: This will Sort the Array of Records based on the Surname. This will also trigger the program to output all the records and information for each record. OUIT Menu Item: This will Exit the Program. struct Student { char studentNumber[20]; char Fname[30]; char Sname[30]; char gender[10]: };

icon
Related questions
Question
100%
Write a program that will declare a Student structure datatype (shown below). The program will ask the user for 10 records of type Student. The program will have the following Menu Items that the
user can execute:
*******MENU***
1. SEARCH
2. EDIT a Record
3. SORT the Array of Record
4. QUIT
CHOICE:
Search Menu Item: This will ask the user for a Surname of a student, and output the record of student/s that equals to the query surname
Edit a Record Menu Item: This will also ask for Student Number(Unique Identifier), if the Student Number is present in the array of records, the user will be ask to edit all the information about that
particular record.
Sort the Array of Record Menu Item: This will Sort the Array of Records based on the Surname. This will also trigger the program to output all the records and information for each record.
OUIT Menu Item: This will Exit the Program.
struct Student
{
char studentNumber[20];
char Fname[30];
char Sname[30];
char gender[10]:
};
Transcribed Image Text:Write a program that will declare a Student structure datatype (shown below). The program will ask the user for 10 records of type Student. The program will have the following Menu Items that the user can execute: *******MENU*** 1. SEARCH 2. EDIT a Record 3. SORT the Array of Record 4. QUIT CHOICE: Search Menu Item: This will ask the user for a Surname of a student, and output the record of student/s that equals to the query surname Edit a Record Menu Item: This will also ask for Student Number(Unique Identifier), if the Student Number is present in the array of records, the user will be ask to edit all the information about that particular record. Sort the Array of Record Menu Item: This will Sort the Array of Records based on the Surname. This will also trigger the program to output all the records and information for each record. OUIT Menu Item: This will Exit the Program. struct Student { char studentNumber[20]; char Fname[30]; char Sname[30]; char gender[10]: };
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer