Advertisement
IanO-B

Untitled

Feb 21st, 2020
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. import java.util.Random;
  2. public class Main {
  3.  
  4. public static void main(String[] args) {
  5. int[] values;
  6. values = new int[1000];
  7. Random rand_int1 = new Random();
  8.  
  9. for(int i = 0; i < values.length; i++){
  10. values [i] = rand_int1.nextInt(90)+10;
  11. System.out.println(values[i] + " ");
  12. }
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement