J
JollyK
Hello folks, So what is the difference between
and
Because according to me, they both look the same and I can't find any
advantage with the "else if" statement
JollyK
Code:
if (a == b) {...}
if (c==d) {...}
if (e==f) {...}
and
Code:
if (a == b) {...}
else if (c==d) {...}
else if (e==f) {...}
Because according to me, they both look the same and I can't find any
advantage with the "else if" statement
JollyK