0_0_33726029_16262.cpp: In function 'int main()': 0_0_33726029_16262.cpp:6:27: error: expected primary-expression before 'double' printf("%.2lf\n", sqrt(double)((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2))); ^