C++ Program to Find Factorial of Number

#include<iostream>
using namespace std;
int main() {
int n=5,i,fact = 1;
for(i=1; i<=n; i++)
{
fact = fact * i;
}
cout<<"Factorial Number is :"<< fact<<endl;
return 0;
}