0_0_36195123_2541.cpp: In function 'int main()': 0_0_36195123_2541.cpp:3:15: error: 'scanf' was not declared in this scope scanf("%d",&n); ^ 0_0_36195123_2541.cpp:8:17: error: 'printf' was not declared in this scope printf("%d",sum); ^