Quiz Week 09

distance... flickr photo by Pia Kristine shared under a Creative Commons (BY-SA) license

Distance

Write a function that receives four parameters: x1, y1, x2, y2 which are all floating point values.

The function is called distance and returns (float) the distance between x1,y1 and x2,y2 on the cartesian coordinate plane.

What to Submit

Post on your blog your solution and include your code somehow (image, in the post or via GitHub) and remember to include the hashtag #quiz09

Featured Image Credit

<a title="distance..." href="https://flickr.com/photos/iloveakira/5090708070">distance...</a> flickr photo by <a href="https://flickr.com/people/iloveakira">Pia Kristine</a> shared under a <a href="https://creativecommons.org/licenses/by-sa/2.0/">Creative Commons (BY-SA) license</a> </small>
distance… flickr photo by Pia Kristine shared under a Creative Commons (BY-SA) license

CC BY-SA 4.0 Quiz Week 09 by admin is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.