Question: 1. (20 points) Develop a C+t progran named lww2.cpp that reads a data file holding the records of students' id and scores of two exams.

 1. (20 points) Develop a C+t progran named lww2.cpp that reads
a data file holding the records of students' id and scores of

1. (20 points) Develop a C+t progran named lww2.cpp that reads a data file holding the records of students' id and scores of two exams. Your program should determine the numeric average and letter grade of each student (there will be 30 students, at most). Then, your progrm should print out the students amanged from highest namenc average, to lowest. The output should go back to the console, not a file. You should create a smict to hold the student's id, numeric average, and letter grade. Furthermore, you are to use an array to bold this data. Note, you will not hav y an array within your struct declaration. The following shows a sample input data file. Pleave note that the file hax the number of students as the first line. Sample Input File 51000200030004000500087.0100.079.099.065.092.5100.081.098.561.9 A sample run of your program might look like thin. Note that the user's inpat are highlighted in bold. Sample Execution Enter an input file: c:/css2//input, txt Courne Report 2000=100.00(A) 6000=98.75(A) Your program will be graded based on 1. Compilation without error: 2 Correct outpot renult. 3. Good propramnung structure such as indentation and blank line to mprove resdability. 4. Comments. (Title, Abutract, Author, and Date are maadatory) If you have finctions in your projram, you also nend to provide the "abutrich of each fanction

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!