// This program read in two numbers and displays their sum.
// Barry Cornelius, 19 June 2000
public class KeyboardInputProg
{
   public static void main(final String[] pArgs)
   {
      final KeyboardInput tKeyboardInput = new KeyboardInput();
      System.out.print("Type in your first number: ");
      System.out.flush();
      final double tFirst = tKeyboardInput.nextDouble();
      System.out.print("Type in your second number: ");
      System.out.flush();
      final double tSecond = tKeyboardInput.nextDouble();
      final double tSum = tFirst + tSecond;
      System.out.println("The sum of " + tFirst + 
                         " and " + tSecond + " is " + tSum);
   }
}
