Chapter 3 Java Selections
M6 A3
(Inside The Triangle)
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 (x,y) 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.
*** Methods are not allowed for this assignment. Do each
calculation...