Created
October 23, 2020 18:18
-
-
Save wedburst/2cdd790a823a99b97c8133ee1b6d5061 to your computer and use it in GitHub Desktop.
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
| var n = Math.random(); | |
| n = n * 6; | |
| var num = Math.floor(n); | |
| if (num >= 6){ | |
| console.log(num + " Estamos alejando"); | |
| } | |
| if (num >= 4 && num < 5){ | |
| console.log(num + " Vamos Bien"); | |
| } | |
| if(num > 2 && num <= 3){ | |
| console.log(num + " Casi llego"); | |
| } | |
| if (num <= 2){ | |
| console.log(num + " Muy Bajo"); | |
| } | |
| if (num === 5){ | |
| console.log(num + " es tu dia de cumpleaños") | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment