Computer Science, asked by mjyotirmoy586, 3 months ago

a) If the three sides of a triangle are entered through the keyboard,
write a program in c
to check whether the triangle is isosceles,
equilateral, scalene or right angled triangle.​

Answers

Answered by madhuribabbar3
1

Answer:

Check if(side1 == side2 && side2 == side3) , then the triangle is equilateral. If it is not an equilateral triangle then it may be isosceles. Check if(side1 == side2 || side1 == side3 || side2 == side3) , then triangle is isosceles.

Similar questions