0_0_28382778_1152.cpp: In function 'int main()': 0_0_28382778_1152.cpp:11:20: error: 'sum' was not declared in this scope }printf("%d\n",sum); ^