#include <stdio.h>
int main(void)
{
int a,b,c;
printf("Enter the sides of the triangle");
scanf("%d%d%d",&a,&b,&c);
if(a+b<c || b+c<a || c+a<b)
printf("cant form a triangle");
else if(a==b==c)
printf("eq triangle");
else if(a!=b && b!=c && c!=a)
printf("sca triangle");
else if(a==b&&b!=c || a!=b&&b==c)
printf("Iso triangle");
}
am starting to code.. i have coded this and am not getting the eq triangle working .. can u plz guide me whats wrong in it?