Time remaining:
c++ programming

label Programming
account_circle Unassigned
schedule 0 Hours
account_balance_wallet $5


Write a program that uses two structures to store the following data:


Ø  id    // student id

Ø  name  // student name

Ø  tests   // a pointer to an array of test scores

Ø  avg    // average test score

Ø  grade  // course grade


Ø  crn    // course registration number, such as 21719

Ø  cid   // course id, such as CIS-022B-01

Ø  noStu  // number of students in the class

Ø  noTests  // number of tests

Ø  stuList  // a pointer to an array of Student structures

The program keeps a list of test scores for a group of students. It reads data from cis22B.txt. It dynamically allocates a course structure and reads the corresponding data from the text file into the structure (crn, cid, noStu, noTests). Then it uses noStu to dynamically allocate an array of Student structures (stuList). Each structure’s tests member should point to a dynamically allocated array that will hold the test scores (noTests)

After the array has been created and loaded, the program calculates the average test score and determines the grade for each student (A: 91-100 , B: 81-90, C: 71-80, D: 61-70, F: 60 or below).

Sort the array in ascending order by student name.

Write to sorted.txt the following: crn, cid, noStu, and a table (header included) containing the student id, the name of the student, the average score and the grade.

Nov 9th, 2013

.i can help you in your assignments...i can provide you good quality work so that you can get A gradings in your course.I can do your work in a very short time .......answers will be upto mark and correctly written..thanks.....waiting for your reply ,,ans soon
Nov 9th, 2013

how much pay you $ plz reply

Nov 9th, 2013

Studypool's Notebank makes it easy to buy and sell old notes, study guides, reviews, etc.
Click to visit
The Notebank
Nov 9th, 2013
Nov 9th, 2013
Oct 23rd, 2017
Mark as Final Answer
Unmark as Final Answer
Final Answer

Secure Information

Content will be erased after question is completed.

Final Answer