Question: Project part 1 : In this project, you will need to create a Student Account Management System for adding, deleting, updating, or viewing the student's

 Project part 1 : In this project, you will need to

Project part 1 : In this project, you will need to create a Student Account Management System for adding, deleting, updating, or viewing the student's information in the system. Each student will have a Name (string), date of birth, ID number (integer), address (string), phone number, and list of courses(string). When the program starts, it will load existing student information from a txt file and when program exits, it will save all changes made while running the program to the same file. After the students information is loaded from the file (In this phase all you need to do is just print a message that the user information is loaded, but you don't really open any files or load anything) the program will display the following main menu to the user: Please Select an Operation (1-6): 1- Create a new account. 2- Update information of existing account. 3- Check the details of existing account. 4- Remove account. 5- Show all student's list. 6- Exit System This menu will keep showing after each time a user selects an operation and that operation is performed. When the user selects operation 6 (exit system), the program will load all changes (updates) to the file (In this phase all you need to do is just print a message that the student information is updated, but you don't really open any files or update anything) and will then exit. Your program should at least contain the following functions: void displayMainMenu(); void createNewAccount(); void removeAccount(); void viewList(); void uploadStudentsFile(); void editStudentInfo(); void viewStudentInfo(); // displays the main menu shown above // create a student new account // removes student account // view list of all students Info // uploads student data from file // change some student info // search for a student and display his info For this phase those functions are just void functions that will mostly contain printf statements just to print what they are supposed to do. In later phases, the function prototypes will change and the functions will do more. Items that should be turned in by each student: Project part 2: in this phase, you first need to define: 1- constant called MAXSIZE (max number of students stored) equal to 100. 2. global variable called size =0 / The main function should define the following arrays: 1- Define two array in the main function for password checking, the first array is pass(10) and the second is password[10). The first one is to store the password that you read from user and the other one is to save the permanent password. Once the user run your program, you should ask him/her to enter the password and check if it is correct or not. You can check by comparing the entered password (pass[]) with the saved cone (password(l) using strcmp function. you should allow the user to use the system and all menus once he entered a correct password, otherwise ask him to enter the password again. (the user is allowed enter the password three times only) 2- char names[MAXSIZE][100); 3- int stdID[MAXSIZE) 4- double phones[MAXSIZE); 5- int registration Year(MAXSIZE); you now need to implement the major parts of the functions you created in phase one as follows: void displayMainMenu(); This function will remain similar to that in phase one with one minor addition which is the option: void uploadStudents File (char names [], int stdid ), double phones [], int registration Year []); This function will receive the arrays containing the students id numbers, names, phones and registration year as parameters. The function will open a file called students.txt for reading and will read all the students info (name, id, phone and registration year) and store them in the arrays. The global variable size should be set to the number of students read from the file and stored in the array. void createNewAccount (char names [], int stdiD [], double phones [], int registration Year (I); This function will receive the arrays containing the id numbers, the phones, names and the registration year. The function will check to see if the list is not full. If list is not full ( size MAXSIZE) then it ask the user to enter a name, an id number, a phone and the registration year and will have one of three choices: 1. if the id number is already in the list (the student with that id exists) it Montslearu.avicte" the registration year and will have one of three choices: 1- if the id number is already in the list (the student with that id exists) it will display an error message ("student already exists"). 2- If the id number does not exist, the function will add the student's name, id, phone and registration year to the end (at index size ) of the all arrays. The global variable size should be incremented (size++). void removeAccount(char names [], int stdiD [], double phones [], int registration Year (I); This function will receive the arrays containing the id numbers, the phones, names and the registration year as parameters. The function will check if the list is not empty. If it is not empty (size > 0) then it will search for the id number to be removed and if not found will display an error message. If the id number exists, the function will remove it by deleting the id number, the phone, name and the registration year from the arrays and size will be decremented by 1. WT Ponce the registration year and will have one of three choices: 1- if the id number is already in the list (the student with that id exists) it will display an error message ("student already exists"). 2- If the id number does not exist, the function will add the student's name, id, phone and registration year to the end ( at index size ) of the all arrays. The global variable size should be incremented (size++). void removeAccount(char names [], int stdiD [], double phones [], int registration Year []); This function will receive the arrays containing the id numbers, the phones, names and the registration year as parameters. The function will check if the list is 2 not empty. If it is not empty (size > 0) then it will search for the id number to be removed and if not found will display an error message. If the id number exists, the function will remove it by deleting the id number, the phone, name and the registration year from the arrays and size will be decremented by 1. void viewStudentinfo (char names [], int stdiD [], double phones [], int registration Year []); This function will receive the arrays containing the id numbers, the phones, names and the registration year as parameters. The function will check if the list is not empty. If it is not empty (size > 0) then it will ask the user to enter an id number and will search for that id number. If the id number is not found, it will display an error message. If the id number is found then it will be displayed along with the name, phone and registration year in a suitable format on the screen. void editStudentInfo (char names [], int stdiD [], double phones [], int registration Year []); This function will receive the arrays containing the id numbers, the phones, names and the registration year as parameters. The function will open the file called students.txt for writing and will write to that file the name, id number, phone, and registration year of each student in the arrays. void viewList (char names [], int stdiD [], double phones [], int registration Year []); This function will receive the arrays containing the id numbers, the phones, names and the registration year as parameters. This function will print the information currently stored in the arrays. Outputs: CUsers DELL\Desktop c\PROJECT-PHASE-Tbini Debug PROIECT-PHASE-1 ## Welcome To The Main Menus Select an operation Create a new account. Remove account. 3- show Student list edit Student Info check the details of existing account. Exit Enter an operation ** Welcome To The Main Menu## Select an operation Create a new account. Remove account. show Student list edit Student Info check the details of existing account. 5- Exit Enter an operation From my TECNO

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!