Question: Java: -Create a programming solution set that Reads a student record file into parallel arrays. first textfile is called : recordTestOne.txt second textfile is called
Java:
-Create a programming solution set that Reads a student record file into parallel arrays.
first textfile is called : recordTestOne.txt
second textfile is called : recordTestTwo.txt
-It will also allow the user to print two reports and write an honors file. Use the following menu to control the program execution.
Read New input file
Print Alphabetical Grade Report
Print High to Low Grade Report
Write Honors File
Quit
-
The first option should cause the user to be queried to supply a file name which holds the input student records. Then goes on to open and read the file into parallel arrays.
The second option should sort the arrays by last name, A - Z, and then print a report with the student name course and grades. The report will only print 50 names per page. So, if there are more than 50 names the report will start a new page with the next name. The report should be in the following format.
option 1 example)
Alphabetical Student Grade Report
Last Name First Name Course Name Course Number Grade
option 2 example)
Alphabetical Student Grade Report
Last Name First Name Course Name Course Number Grade
- The third option should sort the parallel arrays by grade, high to low 100 0, and then print a report with the student name course and grades. Again, the report will only print 50 names per page. So, if there are more than 50 names the report will start a new page with the next name. The report should be in the following format.
Alphabetical Student Grade Report
Last Name First Name Course Name Course Number Grade
-
The fourth option, should identify each student with a grade over 90.00, and write a header record file containing their first name, last name, address, and grade. This file will be used by another program to print out letters to the students. (Hint create new parallel arrays to hold the honors data)
This file should be in the following format:
Doe,John,1234 Comet Ln,Justen,OH,22345,97.3
-The fifth option, should allow the user to exit the program. The program will return to the menu after each of the other options are run.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
