Some Array Examples
- The file data holds 10 integers.
- Read in this data
- Print out this data
- Print out this data in reverse order
- Compute the sum of this data $\sum x$
- Find the minimum of this data
- Find the average of this data $\bar{x} = \frac{\sum{x}}{n}$
- Print out everything less than the average.
- Find the standard deviation of this data $s = \sqrt{\frac{\sum (x- \bar{x} )}{n-1}}$
- A game has an array of players.
- Print out all of the players and their status
- "Simulate" playing a game where each player takes a turn in order.
- Print out all of the "sane" players that are not the current player.