Day 9
- Reading: Read Chapter 8 and 9
- Lab 5 is due at beginning of lab next Tuesday
- Lab Quiz 2nd Chance today during lab
- Project 3 is assigned
- Lecture Topics
- Arrays
- Example: Write a function that reads up to twenty salaries into an array.
- Example: Write a function that computes the sum of up to twenty salaries in a given array. Write a test of this function using checkit_*.
- Example: Write a function that returns the smallest of an array of ints.
- Example: Write a program that combines the above functions. See solution here.
- Example: Find the median value in the above program.
- Strings
- Example: Write a program that reads a first and last name into two strings.
- Example: Write a program that reads up to twenty names into an array of strings.
See solution here.