Skip to content
C

Factorial Using Recursion

Easyjavapythonccppjavascript

Given a non-negative integer N, compute N! (the product of all integers from 1 to N; 0! = 1).

Input Format

A single line containing the integer N.

Output Format

Print N!.

Input (stdin)

Output

Run your code to see output here...