42-Write a program to find the factorial of a number using function
Program: 42
Write a program to find the factorial of a number using function.
Output:
Enter any number: 6 The factorial of 6 is 720.
Write a program to find the factorial of a number using function.
Enter any number: 6 The factorial of 6 is 720.