(Geometry: inside a triangle?) Write a program that draws a fixed triangle with three vertices at (20, 20), (100, 100), and (140, 40). Whenever a mouse is moved, display the message indicating whether the mouse point is inside the triangle, as shown in Figure 16.23(c). To detect whether a point is inside a triangle, use the Triangle2D class defined in Exercise 10.13.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.