PEC-CSS/Open-Source

Tell Triangle type

ultimatecoder2 opened this issue · 0 comments

You are given 3 sides of triangle. On the basis of that you need to tell whether the given triangle is scalen, isosceles, equilateral, acute angled, right angled or obtuse angle.

Sample Test Case 1

Sides: [3,4,5]
Output: - Scalen, Right angled

Sample Test Case 2

Sides:[1,2,1]
Output: - Triangle not possible.