Question: Lab 7 1. Develop a simple student management program for a class that can help the instructor manage the information of all students. You need

 Lab 7 1. Develop a simple student management program for a

Lab 7 1. Develop a simple student management program for a class that can help the instructor manage the information of all students. You need to design a struct representing a student that includes relevant data fields including as first name, last name, SIU ID, and class has at most 30 students (so you can safely declare an array of size 30 to hold all students). Your program should allow the instructor to do the following operations: grade. Suppose the a) Whenever your program starts, it first reads a file created by you, named "students.txt" which contains the information of students in the class. Suppose each row of the file contains the information of one student. b) List the information of all students one row by one row. c) List the information of a student. The program will ask the instructor to input the ID of the student. If such a student exists, it will list the information of the student. Otherwise, a prompt will be printed to the instructor saying 'not exist d) Modify the information of a student. The program will ask the instructor to input the ID of the student. If such a student exists, it will further ask the instructor to input other information of the student. Otherwise, a prompt will be printed to the instructor saying 'not exist. Write updated student information to the "students.txt" file. Each row of the file should contain the information of one student. e) The above process repeats until the user selects exit. Before exiting the program, the function for requirement e) will be called to write updated student information to the "students.txt" file

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!