This program calculates the Factorial of a number.
Factorial is represented by the ! sign..
For E.g. 5! = 5*4*3
Write a program to find the factorial value of any number entered
through the keyboard.
int number, factorial, temp;
printf("Enter the number whose factorial is to be calculated:");
scanf ("%d", &number);
while (temp <= number)
printf("The factorial of the entered number is:%d", factorial);
The file can be found at: