0

I cant under stand the difference if and else conditions in the description help me with it.

"if(condition){body} if(condition){body}" or "if(condition){ if(condition) body}"

27th Dec 2016, 10:19 AM
Balaj Yousuf
Balaj Yousuf - avatar
2 Réponses
0
Assuming conditions are all true, with first line both body are executed, whereas on second line there us only one body to execute.
27th Dec 2016, 11:17 AM
ifl
ifl - avatar
0
ooooooo... thanks ifl.
27th Dec 2016, 11:19 AM
Balaj Yousuf
Balaj Yousuf - avatar