Question: Write a program that, for four points A, B, C, and P, Draws a triangle formed by ABC and a small cross showing the position
Write a program that, for four points A, B, C, and P, Draws a triangle formed by ABC and a small cross showing the position of P Displays a line of text indicating which of the following three cases applies: P lies (a) inside ABC, (b) outside ABC, or (c) on an edge of ABC. The user will specify the four points by clicking. Please capture output screen for each different scenario in your report.
(In Java please)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
