we are given two points as
(1.0, 2.0) and (1.0, 5.0)
so,
(x1, y1)= (1.0 , 2.0)
(x2, y2)= (1.0 , 5.0)
x1=1 , y1=2
x2=1 , y2=5
now, we can use distance formula
now, we can plug values
and we get
so, distance between points is 3...........Answer
5.9m questions
7.7m answers