#include <stdio.h>

int main()

{

int a,b,c,b2,a2,c2;

printf("enter the three sides of a triangle ");

scanf("%d%d%d",&a,&b,&c);

a2=a*a;

b2=b*b;

c2=c*c;

if(a==b && b==c && c==a)

printf("its an equilateral triangle ");

else if((a==b && b!=c && a!=c) || (b==c && a!=b && c!=a)||(c==a && c!=b && a!=b))

printf("its an isoceles triangle ");

else if((a2+b2==c2)||(a2+c2==b2)||(c2+b2==a2))

printf("its a right angled triangle ");

else

printf("its a scalene triangle ");

}