Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. Scanner scanner = new Scanner(System.in);
  2. int shiftSize = scanner.nextInt();
  3.  
  4.  
  5.  
  6. or
  7.  
  8.  
  9.  
  10. Scanner scanner = new Scanner(System.in);
  11. String ss = scanner.nextLine();
  12. int shiftSize = Integer.parseInt(ss);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement