Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Harness The Power Of Big Data The IBM Big Data Platform

Authors: Paul Zikopoulos, David Corrigan James Giles Thomas Deutsch Krishnan Parasuraman Dirk DeRoos Paul Zikopoulos

1st Edition

0071808183, 9780071808187

Students also viewed these Databases questions

Question

What do you think it means to be healthy?

Answered: 1 week ago

Question

Ty e2y Evaluate the integral dy

Answered: 1 week ago