Problem
Using the declarations in Exam Preparationin this chapter, write subprograms to do the following:
a. Determine which school spent the most money on football.
b. Determine which sport the last school spent the most money on.
c. Determine which school has the most students playing basketball.
d. Determine in which sport the third school had the most students participating.
e. Determine the total amount spent by all the schools on volleyball.
f. Determine the total number of students playing all sports. (Assume that each student plays only one sport.)
g. Determine which school had the most students participating in sports. (Assume that each student plays only one sport.)
h. Determine which was the most popular sport in terms of money spent.
i. Determine which was the most popular sport in terms of student participation. (Assume that each student plays only one sport.)