chap7, scanf