0_0_13118972_21813.cpp: In function 'int main()': 0_0_13118972_21813.cpp:8:3: error: expected ';' before 'printf' printf("%d\n",sum); ^