Question: 6. . Write a program that asks the user to type the coordinate of 2 points, A and B (in a plane), and then writes

 6. . Write a program that asks the user to type
the coordinate of 2 points, A and B (in a plane), and

6. . Write a program that asks the user to type the coordinate of 2 points, A and B (in a plane), and then writes the distance between A and B. The formula for finding distance is: Distance - (2-yl) +(x2-x1) Assume (xl, y1) is the coordinate for point A and (x2, y2) is the coordinate for point B. Add code here. Homework 1, Spring 2021 Due Date: 01/27/2021 Must submit all the problems using this word document. Be careful in typing the statement as per C++ rule. So, if upper case letter is needed, must use uppercase, and so on. If semicolon needed at the end, you must put that

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!