Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 681 Bytes

File metadata and controls

31 lines (24 loc) · 681 Bytes

Calculate Distance

Challenge Description:

You have coordinates of 2 points and need to find the distance between them.

Input sample:

Your program should accept as its first argument a path to a filename. Input example is the following

(25, 4) (1, -6)
(47, 43) (-25, -11)

All numbers in input are integers between -100 and 100.

Output sample:

Print results in the following way.

26
90

You don't need to round the results you receive. They must be integer numbers.