Problem Definition: Find the maximum of a given set of numbers.
TO DO: Extend the algorithm developed in class for max to find both max and min of the given set in one walk through the numbers.
Problem Definition: Find the mean of a given set of numbers.
TO DO: Come up with the specification for the problem above. Give the pseudo code for the algorithm.
Write an algorithm that determines the mode of a list of numbers. The mode is the value that occurred most frequently. For example, in
1 2 2 3 3 3 4 5 5 6 6 7 7 7 7 8
the mode is 7 with a frequency of 4. You may assume that: