Problem:
Write a program that allows the user to enter students names followed by their test scores and outputs the following information(assume that the maximum nmber of students in the class is 50; if the number of students is less than 50, to indicate the end of input data, after entering the last students data, on a line by itself, hold the ctrl key/press z and then press the Enter key):
Required:
Question 1: Class average
Question 2: Names of all the students whose test scores are below the class average, with an appropriate message( youre below class average)
Question 3: Highest test score and the names of all the students having the highest score.
Please show the code and methods used.