Question: Create a line struct from point struct having x and y coordinates. Find the distance and midpoint of the line (as members of struct). Create
Create a line struct from point struct having x and y coordinates. Find the distance
and midpoint of the line (as members of struct). Create two such different lines (input any values
of x and y coordinates) and find the distance of the mid points of the lines. Use C++ code and
write algorithm in words for the problem.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
