โ Back to Printing
Question 100
Print a Factorial
Print a Factorial
The variablenholds5. Computenfactorial (the product1 * 2 * 3 * 4 * 5) and print it so the output is exactly: 120
Expected Output:
120
Topics:
Printing
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (clog, fn, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.