Help in clarifying the difference between "Else" and "EIif" would be welcome!
Well if elif is else if then this is how it works. If(something) { //do something } else if(smething) { //if the first if is false, then check the next. } else { //everything else that doesn't fall into the if or else if. } If you do something like if(something) if(something) else then you will check both if statements then do the else.
KonradZuse: thanks for both your response and the promptness of the reply. I 'think" I follow so I'll try some examples and see whether the result is what I wanted.
KonradZuse: I got it! Many thanks!
Yup no problem.... What language are you using?
Else and Else If are both different. Else if the end if the If is not fulfilled. Else If is a sub-type of Else if If and Else are not fulfilled.
Join our real-time social learning platform and learn together with your friends!