#include<iostream.h>
#include<conio.h>

void main ()

{

unsigned long i,num,fact=1;

cout<<"Enter integer;

cin>>num;
i=num;
while(num)
{
fact = fact*num;

--num;
}

cout<<The Factorial of "<<"\t"<<i<<"\t"<<is<<"\t"<<fact<<"\n";

getch();
};
Designed By Blogger Templates | Templatelib & Distributed By Blogspot Templates