Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Put Your Data To Work 52 Tips And Techniques For Effectively Managing Your Database

Authors: Wes Trochlil

1st Edition

0880343079, 978-0880343077

More Books

Students also viewed these Databases questions

Question

Prepare and properly label figures and tables for written reports.

Answered: 1 week ago