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. 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
Get step-by-step solutions from verified subject matter experts
