Point in Triangle Assigned: Friday, January 31, 2020 Due: Thursday, February 6, 2020 at 11:59pm Consider a right triangle with vertices at (0,0), (0.y), and (xz,0) as shown in the figure below. Suppose you are given the coordinates of a test point (x,y). Write a program that prompts the user to enter Yu, X X, and y and then checks if the test point is within the triangle. (If it is on one of the edges of the triangle, it is also considered to be within the triangle.) The coordinates of the vertices and test points may be any real numbers, including negative numbers. Submit your source code in a file named In Triangle.java! (0.y.) (x,y) (0,0) (x2.0) Sample console input and output (inputs preceded by Enter the y-coordinate of the first triangle point: > 100 Enter the x-coordinate of the second triangle point: > 200 Enter the x- and y-coordinates of the point to test: > 50 25 The test point is inside the triangle Additional practice problems from the textbook: 2.18.2.21.3.1.3.8. 3.9. 3.12.3.19 Point in Triangle Assigned: Friday, January 31, 2020 Due: Thursday, February 6, 2020 at 11:59pm Consider a right triangle with vertices at (0,0), (0.y), and (xz,0) as shown in the figure below. Suppose you are given the coordinates of a test point (x,y). Write a program that prompts the user to enter Yu, X X, and y and then checks if the test point is within the triangle. (If it is on one of the edges of the triangle, it is also considered to be within the triangle.) The coordinates of the vertices and test points may be any real numbers, including negative numbers. Submit your source code in a file named In Triangle.java! (0.y.) (x,y) (0,0) (x2.0) Sample console input and output (inputs preceded by Enter the y-coordinate of the first triangle point: > 100 Enter the x-coordinate of the second triangle point: > 200 Enter the x- and y-coordinates of the point to test: > 50 25 The test point is inside the triangle Additional practice problems from the textbook: 2.18.2.21.3.1.3.8. 3.9. 3.12.3.19