Izzy A.

asked • 08/22/15

3.Write a c program that would read inputs that correspond to the marks scored by each student in a class for a Test. The input for the problem would be the fir

Meaning the first mark entered is for student #1,second mark for student #2 and so on. For array declaration purposes, the number of students in the class would never be more than 60. Your program should read and save the inputs in an array first. Then it should process the array to calculate the mean average value for the test, the higher scorer for the test and the student number that correspond to the scores. Your program should contain at least 2 other functions, MEAN and TOPSCORER. Function MEAN should accept the array of the marks as the parameter and anything else you feel relevant and return the mean value. Function TOPSCORER should also have the same parameter list but need not return any value. It will find and print the necessary high score and scorer from the function itself. You may calculate the percentage of students who scored above mean value in the main program.

1 Expert Answer

By:

Patrick B. answered • 04/20/20

Tutor
4.7 (31)

Math and computer tutor/teacher

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.