0_0_15863048_18666.cpp: In function 'int main()': 0_0_15863048_18666.cpp:6:23: error: expected ')' before '{' token while(~scanf("%lf",&n){ ^