import java.util.Scanner;
public class PrintInteger {
public static void main (String[] args){
Scanner reader = new Scanner (System.in);
System.out.println ("Input a Number: ");
int number = reader.nextInt ();
int number = reader.nextInt ();
System.out.println ("Number you entered: " + number);
}
}
}
===OUTPUT===
Input a Number: 4
Number you entered: 4
No comments:
Post a Comment