Wrong result in if-elseif clauses


#1


I got the wrong result, have no idea why:


#2

HI why wrong results?

7 * 7 > 10 is true

that why it print the if statement and not the else if statement, because it check first the if statement then if it false the else if and so on, but since the if statement is true it only print it
Hope that help you understand it


#3

yes, now I see, that's my fault, thank you!