Ad
  • Custom User Avatar

    Also check the condition if those 3 points can construct a triangle or not.
    Because all i did was check AB==BC.
    For a tiangle ABC to exist (sum of 2 sides < third side)
    also put a condition when triangle is a equilateral triangle bcoz then there won't be any tip.