
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 displays a line of text indicating which of the following three cases applies: a) P lies inside ABC b) P lies outside ABC Or c) P lies on an edge of ABC. The user will specify the four points by clicking.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
