Question: Write a complete C++ program that will accomplish the following tasks: A. Asks the user to input the following information: The first point coordinates

Write a complete C++ program that will accomplish the following tasks: A. 

Write a complete C++ program that will accomplish the following tasks: A. Asks the user to input the following information: The first point coordinates (x1,x2) as integers The second point coordinates (y1,y2) as integers B. Calculate the Distance between the two points as indicated in the formula: d = (x-x)+(x,y) =(6-0)+(8-0) 36+64 V100 d-10 Sample run Enter X1,X2,Y1,y2: 06 08 Distance 10

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 Programming Questions!