Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / Write a C++ program that uses a two dimensional array, testgrades[][], for 10 students and scores from 5 tests

Write a C++ program that uses a two dimensional array, testgrades[][], for 10 students and scores from 5 tests

Computer Science

Write a C++ program that uses a two dimensional array, testgrades[][], for 10 students and scores from 5 tests.

 Write a function initializeArray(), which will initialize the array to the following values
o 1,75,65,85,90,60
o 2,70,85,90,60,70
o 3,65,68,73,83,95
o 4,86,92,73,89,64
o 5,78,89,72,63,97
o 6,65,93,83,87,79
o 7,78,82,89,77,82
o 8,63,82,95,99,77
o 9,83,91,69,74,88
o 10,75,83,96,92,88
 Write a value-returning function arrayMaximum() which will return the maximum score for the class
 Write a value-returning function arrayMinimum() which will return the minimum score for the class
 Write a value-returning function, arrayRange(), which will print the range of score values for the class
 Write a function, computeAverage(), which will compute the average for each student and also computer the average for the entire class
 Write a function, frequencyChart(), which will print the frequency of the occurrence of the scores
 Also, print the Student ID's of students whose average is above the average

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE

Answer Preview

The attached cpp file contains a code that performs all the tasks requested in 1.doc

There are usually a very large number of different implementations that can produce the same results.
As there are no specifications on particulars of implementation in this posting, I made all as simple as I could think of at the moment.

If you discover some instructions on particulars of implementations that you forgot to mention in this posting, you can post the suitable questions and the program can easily be modified

I have compiled and ran it with Microsoft Visual C++ 6.
If you use another compiler, including those of Microsoft, such as VC++ 7 or VC++8, the compiler may complain about header files, compatibility of different type of integers, etc
In such a case, you can send me a description of the problem and if I have the needed compiler I can re-arrange for it.

The header files used as they are now are of the kind most frequently used by the students whose postings I saw so far on the Brainmass, so there is a good chance that you have arrangements similar to theirs.

The essentials of the processing itself are explained in the attached code, however if you feel you need more explanations, you can ask your questions on this in the feedback.