/in/foo.cc: In function 'int main(int, char**)':
/in/foo.cc:8:7: error: expected ';' before ')' token
for(k)
^
/in/foo.cc:9:9: warning: statement has no effect [-Wunused-value]
b=b*10;
^
/in/foo.cc:10:2: error: expected primary-expression before 'while'
while not(a=n%b)
^~~~~
/in/foo.cc:10:2: error: expected ';' before 'while'
/in/foo.cc:10:2: error: expected primary-expression before 'while'
/in/foo.cc:10:2: error: expected ')' before 'while'
/in/foo.cc:10:8: error: expected '(' before 'not' token
while not(a=n%b)
^~~
/in/foo.cc:11:3: error: expected ')' before 'a'
a=a%b;
^
/in/foo.cc:13:2: error: expected ';' before 'if'
if(l<10){
^~
/in/foo.cc:16:2: error: 'else' without a previous 'if'
else
^~~~