You are to make a program which takes in the three side lengths of a triangle
and tell the user what type of triangle it is. e.g. right-angled , isoceles etc.
It should also tell the user whether the triangle is illegal.
You can download the answer here