Question: 4. (Data processing) a. Write a C++ program to create a data file containing the following information, or use the grades.dat file provided on this

 4. (Data processing) a. Write a C++ program to create a

4. (Data processing) a. Write a C++ program to create a data file containing the following information, or use the grades.dat file provided on this book's Web site. Student ID Number Student Name Course Code Course Course Credits Grade 2333021 BOKOW, R. NS201 3 2333021 BOKOW, R. MG342 3 A 2333021 BOKOW, R. FA302 1 A 2574063 FALLIN, D. MK 106 3 2574063 FALLIN, D. MA208 3 B 2574063 FALLIN, D. CM201 3 2574063 FALLIN, D. CP101 2 B 2663628 KINGSLEY, M. QA140 3 A 2663628 KINGSLEY, M. CM245 3 B 2663628 KINGSLEY, M. EQ521 3 2663628 KINGSLEY, M. MK341 3 A 2663628 KINGSLEY, M. CP101 2 B b. Using the file created in Exercise 4a, write a C++ program that creates student grade reports. The grade report for each student should contain the student's name and ID num- ber, a list of courses taken, the credits and grade for each course, and a semester grade point average (GPA). For example, this is the grade report for the first student: Student Name: BOKOW, R. Student ID Number: 2333021 DDD non Course Code NS201 MG342 FA302 Course Credits Course Grade 3 A 3 A 1 Total Semester Course Credits Completed: 7 Semester GPA: 4.0 The semester GPA is computed in two steps. First, each course grade is assigned a numer- ical value (A = 4, B = 3, C = 2, D = 1, F = 0), and the sum of each course's grade value times

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!