Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created Jun 22, 2021
Embed
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(System.in);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment