Aims:
Calculate the Euclidean Distance between two points. The coordinates of the two points are:
x1= 56, y1= 78
x2=167, y2=245
."\\Clear";
Your code starts after this line.
Your code ends before this line.
The code below is for automatically checking the result. Please ignore it!
result = parseInt(toString(floor(parseFloat(getInfo("log")))), 36);
if (result==2592) showMessage("That's right. Great, you did it!");
else showMessage("Your result is wrong! Please check your macro and try again!");