Input
#include<stdio.h>
#include<conio.h>
void main()
{
int n,i,res=1;
clrscr();
printf("Enter the Number\n");
scanf("%d",&n);
for(i=n;i>0;i--)
{
res=res*i;
}
printf("The Factorial is\n\t%d",res);
getch();
}
| Please Submit your Responses |
| Authors | |
|---|---|
![]() |
Tinku Singh |
| Hitesh Dhanda |
MrNaukri.com - Get Sarkari Jobs, Results, Off Campus Placement Updates © 2012. All Rights Reserved | |