/**
 * Demos how tough life is without arrays.
 *
 * @author Terry Sergeant
 * @version In Class Demo
 *
 * 1. Modify this program so that it allows the user to enter 10 numbers
 *    and AFTER all 10 numbers have been entered, it displays the 10
 *    numbers to the screen.  (Don't move to the second step until the 
 *    first is working.)  HINT: You may need to do away with the loop.
 * 2. Now modify the program so that you ask the user how many numbers
 *    they want to input and then allow them to input that number.  AFTER
 *    all those numbers are entered, you will display them.
 *
*/

import java.util.Scanner;

public class Pain
{
	public static void main(String [] args)
	{
		Scanner kb= new Scanner(System.in);
		int i;
		int num;

		for (i=0; i<10; i++)
		{
			System.out.print("Enter a number: ");
			num= kb.nextInt();
		}
	}
}

