Skip to main content

Problem Statement

Write a C program to calculate the factorial of a number using recursion.

Solution

Input

Output