001package horstmann.ch01_input;
002import java.util.Scanner;
003
004public class InputTester
005{
006        public static void main(String[] args)
007        {
008                Scanner in = new Scanner(System.in);
009                System.out.print("How old are you?");
010                int age = in.nextInt();
011                age++;
012                System.out.println("Next year, you'll be " + age);
013                in.close();
014        }
015}