Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please help me to write a program in C++ with comments and to keep it simple as possible. Also, post the output please. Thank you!
Please help me to write a program in C++ with comments and to keep it simple as possible. Also, post the output please.
Thank you!
Here is input data:
2333021 BOKOW, R. NS201 3 A 2333021 BOKOW, R. MG342 3 A 2333021 BOKOW, R. FA302 1 A 2574063 FALLIN, D. MK106 3 C 2574063 FALLIN, D. MA208 3 B 2574063 FALLIN, D. CM201 3 C 2574063 FALLIN, D. CP101 2 B 2663628 KINGSLEY, M. QA140 3 A 2663628 KINGSLEY, M. CM245 3 B 2663628 KINGSLEY, M. EQ521 3 A 2663628 KINGSLEY, M. MK341 3 A 2663628 KINGSLEY, M. CP101 2 B
C++ File LO Using notepad or textpad, create a text file with the following data shown below, without the headings. Course Credits Grade Student ID Number Student Name Course Code Course 2333021 2333021 2333021 2574063 2574063 2574063 2574063 663628 2663628 2663628 2663628 2663628 BOKOW, R BOKOW, BOKOW,R FALLIN, D FALLIN, D FALLIN, D FALLIN, D KINGSLEY, M KINGSLEY, M KINGSLEY, M KINGSLEY, M KINGSLEY, M NS201 MG342 FA302 MK106 MA208 CM201 CP101 QA140 CM245 EQ521 MK341 CP101 Write a C+program that creates student grade reports. Save the report in a file called studentGrades.rpt. The grade report for each student should contain the student's name and ID number, 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 for the first student Student Name: BOKOW,R. Student ID Number 2333021 Course Credits Course Grade Course Code NS201 MG342 FA302 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 numerical value (A-4, B-3, C-2, D-1, F-0), and the sum of each course's grade value times the credits for each course is computed. The sum is then divided by the total number of credits taken during the semesterStep 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