Question: Write a Java program such that: Enable user to enter 2 whole number values x and y (separated by tab or space). Calculate midpoint of
Write a Java program such that:
Enable user to enter 2 whole number values x and y (separated by tab or space).
Calculate midpoint of the line AB with 2 points: A (x1,y1) and B (x2,y2)

(x2, 42) 21 + x2 Y1 + y2 2 2 (01.41
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
