// // Project 0 First Project // // Due: Sept .7, 2011 // Name: FirstProgram.java // Author(s): John Wang // Instructor: Dr. Wang // // Goal: Practice Java code for the 1st team project // import java.util.Scanner; public class FirstProgram { public static void main(String[] args) { System.out.println("Hello out there."); System.out.println("I will adddddd two numbers for you."); System.out.print("Enter two whole numbers on a line:"); int n1; double n2; Scanner keyboard = new Scanner(System.in); n1 = keyboard.nextInt(); n2 = keyboard.nextInt(); System.out.println("The sum of those two numbers is "); System.out.println(n1 + n2); } }