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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!