السلام عليكم
عندي سؤال
.
Write an Integer function TriangleType(int a,b,c) that accepts as that accepts as parameters the three sides of a triangle a,b and c and returns
1 if the triangle is scalene
2 if the triangle is isosceles
3 if the triangle is equilateral
0 if the sides do not forma triangle