Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scanner scanner = new Scanner(System.in);
- int shiftSize = scanner.nextInt();
- or
- Scanner scanner = new Scanner(System.in);
- String ss = scanner.nextLine();
- int shiftSize = Integer.parseInt(ss);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement