Question: C++ programming language RECORD STRUCTURES //StudentData.txt //Student grade records are stored in a parallel-arrays Data Structure: const int NG = 4; string names[] = {Amy

C++ programming language

RECORD STRUCTURES

//StudentData.txt

//Student grade records are stored in a parallel-arrays Data Structure:

const int NG = 4;

string names[] = {"Amy Adams", "Bob Barr", "Carla Carr", "Dan Dobbs", "Elena Evans" };

int exams[][NG]= { {98,87,93,88}, {78,86,82,91}, {66,71,85,94}, {72,63,77,69}, {91,83,76,60} };

1) Define a Record Data Structure for student grade records for data stored in file: "StudentData.txt" with additional fields for average exam score and grade.

2) Declare an array of records.

3) Populate from the Data Structure in the file: StudentData.txt.

4) Define a function to display student records (formatted). 5) Define a function to compute average and populate average field.

6) Define a function to compute the grade and populate grade field.

7) Define a function to compute class average.

8) Define a function to compute class standard deviation.

9) Display class average and standard deviation.

10) Demonstrate ALL functions.

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!