Questions tagged as 'random'

2
answers

Generate an array of random numbers that do not repeat in java

public static void main(String[] args) { int numeros[]=new int [4]; int minimo = 1; int maximo = 5; //Genera, comprueba e introduce los numeros en el array si la comprobación es correcta for (int i = 0; i < numeros.length; i++...
asked by 02.09.2018 / 13:43