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