You need to sign in to test your code and save your progress on this question.
Write a program that calculates the factorial of a given positive integer `N`. Output the final mathematical result.
Example Input
5
Example Output
120
Success Rate:
0% (0 passed / 0 attempted)
Unsaved
Click "Run Code" to evaluate your code against the tests.
Product
Company
Reach Out
Guides
© 2026 PseudoEditor. All rights reserved.