Due Wednesday, 11/1:
- Section 3.1 (page 202) #6 and 9
- Describe an algorithm in pseudocode that finds the maximum of a list of integers. Show how this algorithm works on the following inputs:
- 1, 3, 5, 6, 7, 9
- 9, 8, 7, 6, 5, 4, 3, 2, 10
- Describe an algorithm in pseudocode that finds that mean of a list of integers (the mean of a set of numbers is the average of the numbers). Show how this algorithm works on the following inputs:
- 1, 3
- 1, 1, 1
- 1, 2, 3, 4
Suggested exercises (not to be turned in):
- Pages 202-203 #3, 7, 8, 11, 13, 23, 24