Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a Program: parallel Array Part of our study guide, the short answer practice section included this long code. I have no idea how to
Write a Program: parallel Array
Part of our study guide, the short answer practice section included this long code. I have no idea how to answer it and won't be able to study it in time for my test. All help appreciated
----
Create a programming solution set that Reads a student record file, in the following format, into parallel 100 Doe lohn, 1234 Comet Lo Justen H 22345,Chemistry I,CEM 101,97.3 Franks,Sally,9076 Setheart tIsland.?043 50.20th Century ArtART, 221,874 Akim.Eerol,78932 Burebardt Ave.lebanen PA 34567,Java I,ITP 101,90.5 etc. Tanner lames 2324 Knight rinBs,NY 00100,Intro to PrE ITP 100,85.2 Smith Martha,23456 Dixie RdSolberE.VA 20200 Java 1,ITP 101,93.6 It will also allow the user to print two reports and write an honors file. Use the following menu to control the program execution. A) Read New input file B) Print Alphabetical Grade Report C) Print High to Low Grade Report D) Write Honors File E) 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 Alphabetical Student Grade Report Last Name First Name Course Name Java I Chemistryl 20th Century Art Course Number ITP 101 CEM 101 ART 221 Grade 90.5 97.3 87.4 Doe Sally etc. Alphabetical Student Grade Report Last Name First Name Smith Tanner Course Name Java 1 Intro to Prog Course Number ITP 101 ITP 100 Grade 93 85.2 Martha etc. 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 Doe Smith Course Number CEM 101 ITP 101 ITP 101 Grade 97.3 93.6 90.5 Course Name Chemistry John Martha Java 1 Java I Create a programming solution set that Reads a student record file, in the following format, into parallel 100 Doe lohn, 1234 Comet Lo Justen H 22345,Chemistry I,CEM 101,97.3 Franks,Sally,9076 Setheart tIsland.?043 50.20th Century ArtART, 221,874 Akim.Eerol,78932 Burebardt Ave.lebanen PA 34567,Java I,ITP 101,90.5 etc. Tanner lames 2324 Knight rinBs,NY 00100,Intro to PrE ITP 100,85.2 Smith Martha,23456 Dixie RdSolberE.VA 20200 Java 1,ITP 101,93.6 It will also allow the user to print two reports and write an honors file. Use the following menu to control the program execution. A) Read New input file B) Print Alphabetical Grade Report C) Print High to Low Grade Report D) Write Honors File E) 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 Alphabetical Student Grade Report Last Name First Name Course Name Java I Chemistryl 20th Century Art Course Number ITP 101 CEM 101 ART 221 Grade 90.5 97.3 87.4 Doe Sally etc. Alphabetical Student Grade Report Last Name First Name Smith Tanner Course Name Java 1 Intro to Prog Course Number ITP 101 ITP 100 Grade 93 85.2 Martha etc. 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 Doe Smith Course Number CEM 101 ITP 101 ITP 101 Grade 97.3 93.6 90.5 Course Name Chemistry John Martha Java 1 Java
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