// Numeric input example: version 2, which uses the // Keyboard class from the book. import cs1.Keyboard; class Addition2 { public static void main (String[] args) { int num1, num2; System.out.print ("Enter the first number: "); System.out.flush(); num1 = Keyboard.readInt(); System.out.print ("Enter the second number: "); System.out.flush(); num2 = Keyboard.readInt(); System.out.println ("The sum of " + num1 + " and " + num2 + " is " + (num1 + num2)); } }