#include <cstdlib>
#include <iostream>
#include <math.h>
using namespace std;
int main(void)
{
double a=1, n, result=1;
cout << “Faktoriyelini Almak Istediginiz Sayi: “;
cin >> n;
while (a <= n){
result =result* a;
a++;}
cout << n << ” Sayisinin Faktoriyeli: ” << result << endl;
system(“PAUSE”);
return EXIT_SUCCESS;
}