Guest User

Untitled

a guest
Jan 10th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. int number = in.nextInt();
  2. String test = String.valueOf(number);
  3.  
  4. int a = test.charAt(0);
  5. if(a == 48) { a = 0; }
Add Comment
Please, Sign In to add comment