0_0_36335900_22638.cpp: In function 'int main()': 0_0_36335900_22638.cpp:8:22: error: expected ')' before ';' token while(scanf("%d",&n);) ^ 0_0_36335900_22638.cpp:8:23: error: expected primary-expression before ')' token while(scanf("%d",&n);) ^