Feedback for these lessons is very much welcome. If you like or hate something about a lesson let us know, either on GitHub, via Mail or just tell us in person ;)
x
A01 - Euclidean Distance
Modify the Hello World prorgamm given in the slides and programmed in the first exercise to calculate the eudlidean distance.1
Step 1
Create variables to hold the values for the different coordinates of two points. These two points are two dimensional.
Step 2
Calculate the euclidean distance2 from the given points/coordinates.
Hint: We need to use the square root function.3
Step 3
Write your solution on the console and verify that it worked correctly.