Guest User

Untitled

a guest
Jan 21st, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. // for the letter, will start at 0 for A.
  2. int x = Character.toLowerCase(input.charAt(0))-97;
  3.  
  4. // for the number
  5. int y = Character.getNumericValue(input.charAt(1))
Add Comment
Please, Sign In to add comment