Problem Statement
Read one non-negative integer, implement factorial, and print the factorial value.
DEMO-OOP-33 โข Object Oriented Programming
Read one non-negative integer, implement factorial, and print the factorial value.
Input is given as whitespace-separated tokens in this order:
Print the exact report in this order:
Submit runs every public testcase in this browser. Results and code never leave this device.
0
Factorial: 1
5
Factorial: 120
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question