+ 1

Help in JAVA

The triangle is defined by 3 points. Implement methods for finding area, perimeter, checking whether a point belongs to a triangle. I tried to solve this task. I already started to write the code but I don’t know how to continue. Please look at me code and help me.( https://code.sololearn.com/c9GS247O7krM/?ref=app)

20th Mar 2022, 9:57 PM
Sony Alexis
1 Answer
0
I just deleted all „package” lines and it worked fine ( I only tested for a simple right triangle though)
20th Mar 2022, 11:47 PM
Nick