Question: please write in c++ Exercise 3: Define a struct object called point Type to represent the decimal x and y coordinates on a plane. Write
Exercise 3: Define a struct object called point Type to represent the decimal x and y coordinates on a plane. Write a driver function definition called distance that takes as its parameters two pointType objects. The driver function should find the distance between the two pointType objects and return a decimal value back to the calling function. To calculate distance, use the distance formula below: (15pts) (x2x1)2+(y2y1)2 "PASTE CODE HERE - just the function definition in the driver, cpp file %
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
