Description of this paper

Write a program that calculates the distance between two points whose coordinates are (7, 12) and (3, 9). Use the fact that the distance between two points having coordinates (x1, y1) and (x2, y2) is distance = sqrt([x1 - x2])2 + [y1 ? y2]2).

Description

solution


Question

Write a program that calculates the distance between two points whose coordinates are (7, 12) and (3, 9). Use the fact that the distance between two points having coordinates (x 1, y 1) and (x 2, y 2) is distance = sqrt([x 1 - x 2 ]) 2 + [y 1 ? y 2 ] 2).

 

Paper#72359 | Written in 18-Jul-2015

Price : $22
SiteLock