Unnamed
public java v1 · immutableimport java.util.*;public class addThreeNumbers{ public static void main(String[] args) { System.out.println( "Oh, hai" ); System.out.println( "I am going to add three numbers." ); System.out.println( "Enter three numbers:" ); int n1, n2, n3; Scanner keyboard = new Scanner(System.in); n1 = keyboard.nextInt(); n2 = keyboard.nextInt(); n3 = keyboard.nextInt(); System.out.println( "The sum of those three numbers is: " + (n1 + n2 + n3) ); }}