introduction with C programming

timer Asked: Aug 22nd, 2015

Question description

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 first value should state the number of students in the class and the subsequent inputs will be the marks for each of the student in the class. The marks are entered in order of the student number. 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.

Tutor Answer

(Top Tutor) Studypool Tutor
School: University of Maryland
Studypool has helped 1,244,100 students
flag Report DMCA
Similar Questions
Hot Questions
Related Tags

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors