Question: 2 . 2 . Write a program that, for four points A , B , C and P , draws a triangle formed by ABC

2.2. 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; and
Exercises
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.
Can you write this java program code please
2 . 2 . Write a program that, for four points A ,

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 Programming Questions!