Question: in c program Write a program that calculates and prints the factorial of an integer. - [Hint] The factorial function is used frequently in probability
Write a program that calculates and prints the factorial of an integer. - [Hint] The factorial function is used frequently in probability problems. The factorial of a positive integer n (written n !) is equal to the product of the positive integers from 1 to n. - The output will be as in following: Enter an integer: 5 The Factorial result is 120
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
