School TV Statistics

The idea here is to design a program to take in an unknown number of students input.
Each student enters the hours of TV that he/she watched each day in the last week. From the
information obtained this program should work out the following...

  • The number of students interviewed
  • The highest hours of TV watched in one day
  • The highest average hours of TV watched each day in a week
  • The overall average for the students.

    HINT: You might want to use a menu to do this. It is a nice way of doing it.

    A model answer can be downloaded here