-
-
Save Ifmr24/e37ecced60cc2a809c594b18be62eee7 to your computer and use it in GitHub Desktop.
JS Ejercicio 3
This file contains hidden or 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
| /* | |
| Hacer un programa que muestre todos los numeros entre dos numeros introducidos por el usuario | |
| */ | |
| var num1 = parseInt( prompt('Ingresa un Numero') ); | |
| var num2 = parseInt( prompt('Ingresa Otro numero') ); | |
| document.write("<h1>Numeros entre "+num1+" y "+num2+"</h1><br>") | |
| for(var i=num1; i <= num2; i++){ | |
| document.write(i+"<br>"); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment