C++ Program to Find Factorial of Number
Code:
#include<iostream>#include<conio.h>
using namespace std;
int main()
{
int i, no, fact=1;
cout<<"Enter the any no. : ";
cin>>no;
for(i=1;i<=no;i++)
{
fact=fact*i;
}
cout<<"Factorial: "<<fact;
getch();
}
--------------------------------------------------------------------------------------------------------------------
Very interesting , good job and thanks for sharing such a good blog.EFT Dongle Crack"
ReplyDelete