C Program to check the type of triangle

C program to check Equilateral, Isosceles and scalene triangle

C program to check different type of triangle


Program:-


Click here To Download source code

Output:-

Enter 3 sides of triangle
1.5
7.4
1.5
Isosceles

Enter 3 sides of triangle
14.7
14.7
14.7
Equilateral triangle

Enter 3 sides of triangle
7.9
19.0
4
scalene

Enter 3 sides of triangle
78
0
5.6
Invalid input


2 Comments

  1. A triangle is equilateral triangle, If it's sides are equal.
    A triangle is isosceles triangle, If any two sides of a triangle are equal.
    A triangle is scalene triangle, If none of the sides are equal.
    http://www.techcrashcourse.com/2015/11/c-program-to-check-triangle-equilateral-isosceles-scalene.html

    ReplyDelete

Add your comments here

Back to Top