C languageProgramming

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.

Lokesh Kumar

Being EASTER SCIENCE's founder, Lokesh Kumar wants to share his knowledge and ideas. His motive is "We assist you to choose the best", He believes in different thinking.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.