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) {
- int[] values;
- values = new int[10];
- Random rand_int1 = new Random();
- for(int i = 0; i < values.length; i++){
- values [i] = rand_int1.nextInt(101);
- System.out.println(values[i]);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement