/in/foo.cc: In function 'int count(int)':
/in/foo.cc:9:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(n%10==3)
^~
/in/foo.cc:11:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
n/=10;
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:29:10: warning: unused variable 'sum' [-Wunused-variable]
int A,B,sum=0,i;
^~~
/in/foo.cc:29:16: warning: unused variable 'i' [-Wunused-variable]
int A,B,sum=0,i;
^
/in/foo.cc: At global scope:
/in/foo.cc:38:1: error: expected unqualified-id before 'return'
return 0;
^~~~~~
/in/foo.cc:39:1: error: expected declaration before '}' token
}
^