Q1 Write a function to calculate the factorial value of any integer entered through the keyboard.

Program: 122

Write a function in c language to calculate the factorial value of any integer entered through the keyboard.

Output:

Enter an integer: 5
The factorial of 5 is 120

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.