Re: C++ Help
1st exercise:
int n, nf=1;
cin>>n;
for(int i=1; i<=n, i++)
{
nf*=i;
}
cout<<nf
hayda L base taba3 L code.. it has been a full year i haven't touched c++, and i have an exam tomorrow so i can't stay long for this.
__________________
click on 'Groan' to switch to my left testicle.
|