i want just idea not code. i can write nothing. please give me an idea which can be followed and been helpful thank you.
Code:Sample Run 1:Please enter 4 2D points: 1.0 1.0 2.0 1.0 3.0 1.0 5.5 5.0 Your points can construct: A triangle Sample Run 2: Please enter 4 2D points: 1.0 1.0 2.0 1.0 3.0 1.0 5.5 1.0 Your points can construct: A line Sample Run 3: Please enter 4 2D points: 1.0 1.0 2.0 1.0 3.0 6.0 5.5 5.0 Your points can construct: A quadrilateral