0_0_33218611_3503.cpp: In function 'int main()': 0_0_33218611_3503.cpp:16:18: error: expected primary-expression before '%' token while(~scanf(%d,&n)) ^ 0_0_33218611_3503.cpp:16:19: error: 'd' was not declared in this scope while(~scanf(%d,&n)) ^