answer of exercise 01_10
minor fix : close java.util.scanner