does order of the conditions matter on if else statement?
问题 On coding bat Logic-2, loneSum problem I typed in the first method listed below. It was right for all of the tests except for only one. The only one it failed on was where all of the variables equaled to the same integer. But when I looked up for the solution online I got the second method listed below and that worked. I think the only difference between my method and the right solution was the position of the "else if(a==b && b==c){return 0;}". My question is does the order of the conditions