0_0_34310065_30228.cpp: In function 'int main()': 0_0_34310065_30228.cpp:8:2: error: expected ')' before 'printf' printf("%.2f\n",sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2))); ^