0_0_22161474_24765.cpp: In function 'int main()': 0_0_22161474_24765.cpp:26:1: error: expected ')' before 'printf' printf("%.3lf\n",ans); ^