If he doesn't either use returns after every if, or change it to if/elsif structure, its going to keep getting the SCALENE result. lookOriginally Posted by Kybo_Ren
sOne was never equal in either of the test cases, which means this if would be taken, and result would be assigned SCALENE.Code:if(sOne != sTwo && sOne != sThree) result = SCALENE;