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
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
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)
the array has been created and loaded, the program calculates the average test score
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.
.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
Did you know? You can earn $20 for every friend you invite to Studypool!