0
Why is it showing both in output
2 Réponses
+ 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 ()