import java.util.Scanner; /** * Using the scanner class * * Hunter Lloyd * January 28th */ public class Third { public static void main(String [] args) { Scanner stdin = new Scanner(System.in); System.out.println("Double:"); double w = stdin.nextDouble(); System.out.println("Integer:"); int x = stdin.nextInt(); System.out.println("The values you typed in were : " + w + " and " x); //next class we will cover ++, --, +=, -=, *=, /= } }