sounds correct to me.
read the scores into the array
find the average
scan the array, counting those above and below.
Professor Merlin has asked you to help him. He has 100 total students in his four classes but he is not sure that all of them took his last exam. He wants to average the grades for his last exam in four sections of his medieval literature course and then determine how many students scored above the average and how many scored below. Without arrays you would have to enter all the test scores, find their average, and then enter them again to determine how many exceed the average
3 answers
@ Steve. How?
a. Assume that a tutor created a 5-mark quiz for his students and he wants to know the mode of students' scores in the quiz. Write a C# program that reads from the user 6 lines of input. Each line includes 2 integers: a score and number of students who got this score. The program should compute and print the mode of students' scores (You can assume that there is always a unique answer)