Advertisement
Guest User

distance

a guest
Aug 9th, 2022
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. distance :: Int -> Int -> Int -> Int -> Int
  2. distance x1 y1 x2 y2 = sqrt((x2 - x1)^2 + (y2 - y1)^2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement