Answered step by step
Verified Expert Solution
Question
1 Approved Answer
4:52 PM 1 100% (iii), + New content added: Lab7 Lab 7 1. Develop a simple student management program for a class that can help
4:52 PM 1 100% (iii), + New content added: Lab7 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 Class representing a student that includes relevant data fields including as first name, last name, SIU ID, and score. Suppose the class has at most 30 students. Your program should allow the instructor to do the following operations: 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. ) List the information of a student. The program will ask the instructor to input the first and last name 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 a Modify the information of a student. The program will ask the instructor to input the first and last name of the student. If such a student exists, it will further ask the instructor to further input other information of the student. Otherwise, a prompt will be printed to the instructor saying . not exist e)Write updated student information to the "students.txt" file. Each row of the file should contain the information of one student. The above process repeats until the user selects exit. Before exiting the program, the function for requirement d) will be called to write updated student information to the "students.txt.. file
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started