It should ask the user how many test scores there are to be


Please use C++ programming

Course Grade Project

Write a program that uses a structure to store the following data:

Member Name Description
Name Student name (a structure)
idNum Student ID number
testArrayPtr Pointer to an array of test scores
average Average test score
grade Course grade

Data file name: CIT237StudentGrades.txt

If a data file exists, the program should read the existing data and store in the structures.

The program should keep a list of test scores for a group of students.

It should ask the user how many test scores there are to be and how many students there are in addition to any that have been read (if any). It should then dynamically allocate an array of structures.

Each structure's testArrayPtr member should point to a dynamically allocated array that will hold the test scores.

After the arrays have been dynamically allocated, the program should ask for the names and ID numbers for all the students. It should loop through the students and ask for the test scores for each student.

The average test score should be calculated and stored in the averagemember of each structure. The course grade should be computed on the basis of the following grading scale:

Average Test Grade Course Grade
91-100 A
81-90 B
71-80 C
61-70 D
60 OR BELOW F


The course grade should then be stored in the grade member of each structure. Once all this data is calculated, a table should be displayed on the screen listing each student's name, ID number, average test score, and course grade.

*At the end of the program, the data should be stored in a file.

Your program should have:

comments

header file

functions

input validation

Input Validation: Be sure all the data for each student is entered. Do not accept negative numbers for any test score. Make sure the first letter of the student first and last names are capitalized.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: It should ask the user how many test scores there are to be
Reference No:- TGS02894452

Expected delivery within 24 Hours