4. WAP to accept any number display their factorial value.

Solution Of The Program -

If you want to see this solution:

Output-

Enter The Values: 

The Factorial Is: