0_0_31157795_15100.cpp: In function 'int main()': 0_0_31157795_15100.cpp:4:21: error: expected ')' before '!' token while(scanf("%d",&n)!EOF){ ^ 0_0_31157795_15100.cpp:4:25: error: expected ';' before ')' token while(scanf("%d",&n)!EOF){ ^