0_0_34061832_5604.cpp: In function 'int main()': 0_0_34061832_5604.cpp:4:18: error: 'scanf' was not declared in this scope scanf("%d",&n); ^ 0_0_34061832_5604.cpp:9:22: error: 'printf' was not declared in this scope printf("%d\n",sum); ^