#include <stdio.h>
#include <conio.h>
int main()
{
int i,j,res=1;
printf("Enter the No : ");
scanf("%d",&i);
for(j=1;j<=i;j++)
{
res=res*j;
}
printf("The Factorial of %d is %d\n",i,res);
getch();
return 0;
}
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of arun kumar
Sent: Wednesday, February 14, 2007 11:39 AM
To: [email protected]
Subject: [c-prog] help
Hi
Pls send me program to calculate the factorial of given no.
Thks,
Arun,
_____
We won't tell. Get more on shows
<http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265>
you hate to love
(and love to hate): Yahoo!
<http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265>
TV's Guilty Pleasures list.