Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- /**
- * Created by David on 21/01/2017.
- */
- public class Main {
- public static void main(String[] args) {
- int num;
- Scanner in = new Scanner(System.in);
- System.out.println("Enter a num: ");
- num = in.nextInt();
- System.out.print(num);
- }
- }
- Enter a num:
- 5
- 6
- 3
- aasd
- 1335
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement