Created
August 22, 2017 20:23
-
-
Save claudiainbytes/939f757eca0c5c6f82817e3607d71729 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
| /* | |
| * Programming Quiz: Factorials (4-7) | |
| */ | |
| var solution = 1; | |
| // your code goes here | |
| for (var x = 1; x <= 12; x++) { | |
| solution = solution * x; | |
| } | |
| console.log(solution); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment