Write a C program to compute the factorial of 5 i.e 1x2x3x4x5 etc
#include stdio.h
void main()
{
char promt;
int factor;
factor = 1*2*3*4*5;
printf("The factorial of 5 i.e 5! is %d\n\r",factor);
printf("Press any key to exit \n\r");
scanf("\n%c",&prompt);
}