Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Random;
- public class Main {
- public static void main(String[] args) {
- Random rand = new Random();
- int [] values;
- values = new int[1000];
- System.out.println();
- for(int i = 0; i< values.length; i++){
- values[i] = rand.nextInt(90) + 10;
- System.out.print(values[i]+ " ");
- if(i % 20 == 0 && i != 0){
- System.out.println();
- }
- }
- }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement