chapter 5 answers

You could have used the ternary operator here.  E.g.
```java
min = num < min ? num : min;
```