Question: Write a c++ program that asks the user to type the coordinate of 2 points, A and B (in a plane), and then find the
Write a c++ program that asks the user to type the coordinate of 2 points, A and B (in a plane), and then find the distance between A and B. Note that:
dx = XA-XB;
dy = YA-YB;
distance = sqrt(dx*dx+dy*dy);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
