Created
April 19, 2016 01:49
-
-
Save Seich/876e95c041cd97ae8afb3229af1130a9 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
var running = true; | |
while(running) { | |
var nombre = prompt('Nombre del Usuario'); | |
if (nombre == 'Edward') { | |
var numero = prompt('Numero'); | |
if (numero >= 3 && numero <= 10 ) { | |
alert( 'GG m8 wp'); | |
} else { | |
alert('wrong answer n00b try again'); | |
} | |
} else { | |
alert( 'Get Shrekt m8'); | |
} | |
running = confirm("Desea continuar?"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment