/in/foo.cc: In function 'int main()':
/in/foo.cc:6:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=0;i<12;i++)
^~~
/in/foo.cc:8:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
ans+=300;
^~~
/in/foo.cc:9:9: error: 'sum' was not declared in this scope
sum-=n;
^~~
/in/foo.cc:12:24: error: 'i' was not declared in this scope
cout<<"-"<<i+1<<endl;
^
/in/foo.cc: At global scope:
/in/foo.cc:18:5: error: 'cout' does not name a type
cout<<ans+ma*1.2<<endl;
^~~~
/in/foo.cc:19:5: error: expected unqualified-id before 'return'
return 0;
^~~~~~
/in/foo.cc:20:1: error: expected declaration before '}' token
}
^