0

Can anyone explain why the ELSE doesn't live inside the IF?

27th Jul 2016, 2:25 PM
Ryan “the Jenks” Jenkins
Ryan “the Jenks” Jenkins - avatar
3 odpowiedzi
0
Because it is another command after ic
27th Jul 2016, 8:21 PM
Ismayil Gasanov
Ismayil Gasanov - avatar
0
The statements within IF are those which has to be executed when the conditions are met... But since ELSE consists of statements which has to be executed on failure of that condition, it is placed outside of IF
28th Jul 2016, 3:40 PM
Prashant Shahi
Prashant Shahi - avatar
0
Else are the list of statements which need to be executed when if condition is false .. If else is placed within the if and assume if condition fails it will never get a chance to execute else statements
29th Jul 2016, 3:02 AM
nikitha gireddy
nikitha gireddy - avatar