Skip to content

Instantly share code, notes, and snippets.

Created Jun 22, 2021
What would you like to do?
// Generar número aleatorio entre 1 y 100
int numeroMagico = ThreadLocalRandom.current().nextInt(1, 100);
// Crear Scanner para leer del teclado
Scanner sc = new Scanner(;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment