Question: Suppose a right triangle is placed in a plane as shown in the book. The right-angle point is placed at (0, 0), and the other
Suppose a right triangle is placed in a plane as shown in the book. The right-angle point is placed at (0, 0), and the other two points are placed at (200, 0), and (0, 100). Write a program that prompts the user to enter a point with x- and y-coordinates and determines whether the point is inside the triangle. SC-CUSTOM EXERCISE
SAMPLE RUN #1: java InsideTheTriangle
Interactive Session Standard Input Standard Error (empty) Standard Output Hide Invisibles
Highlight: NoneStandard Input OnlyPrompts OnlyStandard Output w/o PromptsFull Standard OutputAllShow Highlighted Only
Enterapoint'sx-andy-coordinates:2000 Thepointisinthetriangle
please answer in java language
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
