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

using namespace std;

int fac(int n)
{
int c;
c = n*fac(n-1);
cout<<c;
}


int main()
{
fac(3);
}


tried this also ! tried with getch( ) also !

Last edited by cerebrum; 16Mar2009 at 22:28..