A tennis ball machine sits on the center mark of a tennis court, as shown below. It shoots balls randomly on the other side of the court. The position of the ball machine is (0, 0):
Write a program to find the distance from the ball machine to a given point on the court.
Read the input one line at a time. Each line contains an (x, y) coordinate. The last line of input contains a
0 0, do not process this line
3 4 6 8 8 8 2 3 0 0
Find the distance from the ball machine to a given cordinate (x, y) on the court, rounded to two decimal places.
5.00 10.00 11.31 3.61