Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Don’t understand the highlighted word on the program given. Please explain and g

ID: 3741166 • Letter: D

Question

Don’t understand the highlighted word on the program given. Please explain and give me an example on how to put the points in for x1,x2,y1,y2 and the result of what the outcome will be. Thanks.

Docu Home Insert Design Layout References Mailings Review View Monaco import java ot eo Point?D public class distancetest public static votd matn(StringD arass Scanner sc-new Scanner(System.tn): //user input testing for triangle is equilateral or something /Enter points here 3 points for triangle System.out. pcintln("enter three points sequentially i.e. x1y1,x2,y2 like this"; Point2D. Double potntl-new PointzD. Double(cextbleo.sc.xu) Point2D.Double potntZunew Point2D. Doubletbla), snexdouate)): Point2D·Double point3af en Potnt2D·Doubleca double distl Point 2D.distance(pointz.getxo, pointi.getyo, pointz.getxO, point2.getro double dist?-Point2D.distance(pointz.getx), pointz,getYO, potnt3.getXC), point3.getYO): sscsten.out.acioaisc points are not ssxsen.out.aciosiak"2 stdes are pessing through eors vertex) casasiae: Page 1 of 4 24 of 394 WordsXEnglish (US)

Explanation / Answer

This means that you are taking 3 points x1 and y1 and other points which are input in double format and passed as arguments to constructor and then we can check the length between the three pairs of points. If all the three lengths are equal then the triangle is equilateral

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote