Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Can someone help me with the C++ code for this program? Description: This progra

ID: 3763067 • Letter: C

Question

Can someone help me with the C++ code for this program?

Description: This program will read a data file that will contain students’ scores for 5 Computer Science (CS) tests. Each student record will contain his/her last name, first name, numeric student ID, student username, 5 test scores, average for these five scores, and grade for CS course. The file will be processed by the program and will produce a report.

The report contains seven parts:

1) The students’ usernames

2) The average score for each student’s five tests.

3) The grade for each student’s CS course.

4) The average CS scores for the class.

5) The total number of students with grades A, B, C, D, and F.

6) The sorted student names and IDs based on user choice: descending or ascending order of grades.

7) Search a student grade by entering student user name ID. (See the attached sample input and output for example.)

Specifications:

1) All input data will be in an input file. The name of the data file that will be used for your program MUST BE grade.dat.

2) The student user name is generated by the students’ names and ID numbers according to the following rule. The student user name will be the first two initials and the four digits of the student ID number. For example, for student John (last name), Doe (first name), with ID number 1122, his user name would be: jd1122. The user names are all lower cases.

3) Your program needs to use a structure to store the student information including last name, first name numeric student ID, student user name, 5 test scores, average for these five scores, and grade for CS course.

4) Your program needs to write at least three functions in your program: For example: find average, find grade, search score etc.

5) Your program needs to do input checking: (1) correct input choices for sorting: ascending or descending; and (2) correct format for user ids: first two are letters and last four are digits.   

Sample Run Sample Input File grade.dat contains: 78 89 Nicole Dennie Julia Sandra Sarah Terry Andrew Brandon Bonebrake 85 90 50 85 Carroll Creighton Everett Freeman Fugett 100 52 87 91 87 100 75 89 97 95 70 95 79 94 75 92 95 Sample Output Test 3 Test 4 78 89 Test 5 est 5 85 FirstName ID userName Test1 Test 2 AverageGrade 77.60 C 93.20 A 66.80 D 91.00 A 77.80 C 71.40 C 94.80A 83.00 B Bonebrake Nicole 1111 bn1111 90 85 Dennie 2222 bd2222 100 90 Julia Sandra 4444 CS4444 87 3333 b3333 52 87 100 75 89 97 Carroll 95 85 Creighton Sarah 5555 cs5555 91 Everett Freeman Andrew 7777 fa7777 Fugett 59 94 75 79 96 95 Terry 6666 et6666 92 Brandon 8888 fb8888 77 The class average for CS 5 tests is 81.95 The total number of students with grade A is 3 The total number of students with grade B is 1 The total number of students with grade C is 3 The total number of students with grade D is 1 The total number of students with grade F is 0

Explanation / Answer

c++ array sorting csv

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote