SHARE
TWEET

Untitled

a guest Jun 17th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import java.util.Random;
  2.      
  3. public static void main(String[] args) {
  4.  
  5.     Scanner teclado = new Scanner(System.in);
  6.     System.out.println("Quantos jogos vocĂȘ quer fazer?");
  7.  
  8.     int jogos = teclado.nextInt();
  9.  
  10.     Random aleatorio = new Random();
  11.  
  12.     int[] numeros = new int[6];
  13.  
  14.     for (int i = 1; i <= numeros.length; i++) {
  15.         System.out.println(aleatorio.nextInt(61));
  16.  
  17.     }
  18.  
  19.  
  20.  
  21.     teclado.close();
  22. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top