0_0_22260785_29268.cpp: In function 'int main()': 0_0_22260785_29268.cpp:10:34: error: invalid operands of types 'double' and 'double' to binary 'operator^' n=sqrt((x1-x2)^2+(y1-y2)^2); ^