Question: DISTANCE CALCULATOR I REQUIREMENTS Build a command-line C+ application that allows user to calculate and display the distance between two points. The coordinates of the
DISTANCE CALCULATOR I REQUIREMENTS Build a command-line C+ application that allows user to calculate and display the distance between two points. The coordinates of the points for A and B will be entered by the user. The distance formula is a variant of the Pythagorean Theorem that you used back in geometry class. INPUT: Coordinates for Point A (x1 and y1) and coordinates for Point B (x2 and y2). The user can enter any coordinates (input parameters) from the keyboard. OUTPUT: The distance between Point A and Point B (see the expected output format in the figure below). Your program should generate the following screen, as shown below. For example (ust to give you an idea) if the user would like to see the distance between (1, 23) and (-29,-35) points, the solution would be displayed as in the following screen shot. The user can enter any coordinates
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
