question archive Assignment 4 Student Record Manage Program with File Stream In Assignment 3, write a program to perform student record manage for class IST311
Subject:Computer SciencePrice: Bought3
Assignment 4 Student Record Manage Program with File Stream In Assignment 3, write a program to perform student record manage for class IST311. It contains two parts: student record class and main program. It should get the student information from the user and set up student record class array with proper size. The program will perform sorting student record by last name then first name, compute final grade, set up ranking by final grade, and then print out the student ranking list information. Modify Assignment 3 program to read the student's information from the file "students.txt", then processing students' information, which are same as assignment 3. In addition, the program needs to write the students information with grade list into the file "studentGrade.txt", then ranking the student by final grade and write to the file "gradeRanking.txt". The program should ask the user to choose the method of input student's information, which are from keyboard or from file. If the user chose input from file, the program needs to ask the user for file name; the program need to validate the file. Keep the "readdata", "sorting" and "search HighestGrade" are same as Assignment 3 and add following functions to your Assignment 3: Write "readFiledata" function that is the implementation of reading the data from the user input file and store into student record array. Write "rankingSort" function that is the implementation of ranking student record by student's final grade without moving data and set rank variable to rank number. Write "displayRank" function that is the implementation of writing the student grade ranking list to output file "gradeRanking.txt" and to screen. It only displays student's number of ranks, last name, first name, final grade. Write "display" function that is the implementation of writing the student record from student record array by using student class display AllGrade( ) function to output file "studentRecord.txt" and to screen.