# Answer to Question #46776 in Other Engineering for manasa

Question #46776

Write an app that calculates the midpoint of a line segment in the 2D

Cartesian plane as well as the length of that line segment (distance

between the two points). Make your output clear and only print 3

digits to the right of the decimal point. Make sure that you test

your program using x and y coordinates in all 4 quadrants.

Cartesian plane as well as the length of that line segment (distance

between the two points). Make your output clear and only print 3

digits to the right of the decimal point. Make sure that you test

your program using x and y coordinates in all 4 quadrants.

Expert's answer

## Comments

## Leave a comment