Advertisement
pascal25565

Untitled

Jan 1st, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. Random r = new Random();
  2. int ran = 0;
  3. int random = r.nextInt(3) + 1;
  4. if (random == 1) {
  5. ran = r.nextInt(8000) + 550;
  6. } else if (random == 0) {
  7. ran = r.nextInt(7000) + 900;
  8. }else if(random == 3){
  9. ran = r.nextInt(7400) + 900;
  10. } else {
  11. ran = r.nextInt(7600) + 500;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement