Factorial of N numbers C++ factorialOf_N_Numbers.cpp 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17#include <bits/stdc++.h> using namespace std; int factorialOf_N_Numbers(int n){ int fact = 1; if(n==0) return 1; fact = n * factorialOf_N_Numbers(n-1); return fact; } int main() { int n; cin >> n; cout << factorialOf_N_Numbers(n); return 0; } Output 5 120