Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Random;
- public static void main(String[] args) {
- Scanner teclado = new Scanner(System.in);
- System.out.println("Quantos jogos você quer fazer?");
- int jogos = teclado.nextInt();
- Random aleatorio = new Random();
- int[] numeros = new int[6];
- for (int i = 1; i <= numeros.length; i++) {
- System.out.println(aleatorio.nextInt(61));
- }
- teclado.close();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement