0_0_15914183_28271.cpp: In function 'int main()':
0_0_15914183_28271.cpp:11:15: error: found ':' in nested-name-specifier, expected '::'
for(i=1;i<=n:i++)
^
0_0_15914183_28271.cpp:11:14: error: 'n' is not a class, namespace, or enumeration
for(i=1;i<=n:i++)
^
0_0_15914183_28271.cpp:11:19: error: expected ';' before ')' token
for(i=1;i<=n:i++)
^
0_0_15914183_28271.cpp:13:12: error: 'sum' was not declared in this scope
if(i%2) sum+=1,0/i;
^
0_0_15914183_28271.cpp:14:9: error: 'sum' was not declared in this scope
else sum-=1.0/i;
^
|