0_0_23367107_31774.cpp: In function 'int main()': 0_0_23367107_31774.cpp:23:21: error: 'scanf' was not declared in this scope scanf("%d",&num); ^ 0_0_23367107_31774.cpp:38:33: error: 'printf' was not declared in this scope printf("%d\n",count); ^