0_0_36711300_4421.cpp: In function 'int main()':
0_0_36711300_4421.cpp:22:23: error: expected ')' before ';' token
if(n < 0) printf("-";)
^
0_0_36711300_4421.cpp:22:24: error: expected primary-expression before ')' token
if(n < 0) printf("-";)
^
0_0_36711300_4421.cpp:23:22: error: 'j' was not declared in this scope
for(int j = i - 1; j >= 0; j--) printf("%c", ans[j]);
^
|