0_0_18966138_10.cpp: In function 'int main()': 0_0_18966138_10.cpp:6:47: error: 'sqrt' was not declared in this scope Distance=sqrt((x1-x2)*(x1-x2)+(y1-y2*(y1-y2))); ^