View Problem

Find the distance between two points

ExpandDiskEdit
fsharp
let distance' = distance (34, 78) (67, -45)
printfn "%3.2f" distance'

Submit a new solution for fsharp
There are 25 other solutions in additional languages (clojure, cpp, csharp, erlang ...)