I didn't notice that the book mentions printf() before this exercise.