Created
August 7, 2019 17:00
-
-
Save parzibyte/a55a25c2132019feb088bad7dfb7feb7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const edadDelUsuario = parseInt(prompt("¿Cuál es tu edad?")); | |
if(edadDelUsuario >= 18){ | |
alert("Eres mayor de edad"); | |
}else{ | |
alert("Eres menor de edad"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment