|
|
back to boardDiscussion of Problem 1068. SumWhy i have compilation error? Posted by Narek 30 Nov 2008 13:14 #include<iostream.h> #include<math.h> main() { int n,i,s=0; cin>>n; for(i=2;i<=fabs(n);i++) s+=i; cout<<((fabs(n)/n)*s); return 0; } Re: Why i have compilation error? Posted by Roshka 30 Nov 2008 13:37 plz write " INT MAIN() " |
|
|