Question: CSI 1011 Program 1 Spring 21 Math Have user enter the x,y coordinates for three points of a right triangle. Calculate the length of the

CSI 1011 Program 1 Spring 21 Math Have user enter the x,y coordinates for three points of a right triangle. Calculate the length of the lines and the perimeter. Use printf to format the output. Sample 1/0: -JGRASP exec: java Program1s Enter the first point in form x y =) -3 -1 Enter the second point in form x y => 2 3 Enter the third point in form x y => 2 -1 Length of line between points (-3, -1) and (2, 3) is 6.40 Length of line between points (2, 3) and (2, -1) is 4.00 Length of line between points (2, -1) and (-3, -1) is 5.00 The perimeter of the triangle is: 15.40
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
