0_0_23425832_799.cpp: In function 'int main()': 0_0_23425832_799.cpp:5:24: error: 'scanf' was not declared in this scope while(scanf("%d",&m)==1) ^ 0_0_23425832_799.cpp:18:32: error: 'printf' was not declared in this scope printf("%.2f\n",sum); ^