Lesson 3: Computation by accumulation
Outline:
- Recap Lesson 2
- Accumulator pattern (practice with
forloops!)- multiplication
- fish population
- Exercises 1-3
Explore after class:
- The
mathlibrary - Read Zelle Ch. 3 on
ints andfloats- basic operations on
ints andfloats - type conversions
- basic operations on
- Exercise 4
Reading assignment (to be completed by the next class):
- Zelle chapter 3 (pp. 57-76)