Program to check a factorial Number in C++



Output :

Enter the any no. : 4
Factorial: 24 

Factorial program using recursion in C++



Output :

Enter any num: 6
Factorial: 720