0
Why is it showing both in output
2 Answers
+ 2
if (a+b+c==180) {
if ( (a==90 || b==90 || c==90) && (a==b || b==c || a==c) )
System.out.println("ISOSCELES RIGHTâ");
else if( (a==90 || b==90 || c==90) && (a!=b && b!=c && c!=a) )
System.out.println("Right â");
}
+ 3
Vishesh Kumar
That is why we have
else if ()