mifthbeat

Untitled

Jan 28th, 2014
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. CODE:
  2. int x = -60;
  3. x %= 360;
  4.  
  5. int y = 60;
  6. y %= 360;
  7. System.out.println("x:" + x + " y:" + y);
  8.  
  9.  
  10. RESULT:
  11. x:-60 y:60
Advertisement
Add Comment
Please, Sign In to add comment