0_0_25390764_28689.cpp: In function 'int main()': 0_0_25390764_28689.cpp:7:9: error: expected primary-expression before '%' token scanf(%d,&n); ^ 0_0_25390764_28689.cpp:7:10: error: 'd' was not declared in this scope scanf(%d,&n); ^