0_0_24313558_25963.cpp: In function 'int main()': 0_0_24313558_25963.cpp:5:23: error: expected ')' before ';' token while(~scanf("%d",&a);) ^ 0_0_24313558_25963.cpp:5:24: error: expected primary-expression before ')' token while(~scanf("%d",&a);) ^