Question: 2 . 2 . Write a program that, for four points A , B , C and P , draws a triangle formed by ABC
Write a program that, for four points and P
draws a triangle formed by ABC and a small cross showing the position of
; and
Exercises
displays a line of text indicating which of the following three cases
applies: lies a inside ABC, b outside ABC, or c on an edge of ABC.
The user will specify the four points by clicking.
Can you write this java program code please
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
