Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package omega01;
- import java.util.*;
- public class Loteria {
- public static void main(String[] args) {
- Random loto = new Random();
- int[] B = new int [10];
- for(int i=0;i < B.length;i++){
- B[i]=loto.nextInt(B.length);
- System.out.println(B);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment