//Question29.java
//Solution to Self-Test Question 29, page 93, Chapter 2.

import java.util.Scanner;

public class Question29
{
    public static void main(String[] args)
    {
        Scanner keyboard = new Scanner(System.in);

        System.out.println("Enter two whole numbers:");
        int n1 = keyboard.nextInt();
        int n2 = keyboard.nextInt();

        System.out.println("You entered: " + n1 + " " + n2);
    }
}
