Chapter 3 answers

:+1: Nice.  Also, you could update your for loop slightly to do this in one line:
```java
for ( char key = 'a' ; key != '.' ; key = (char) System.in.read(), count = key == ' ' ? ++count : count ); 
```