+ 1
Can't understand
Help,
2 Answers
+ 11
The if-else condition is used to check whether the condition specified is true or false.
The condition is written in if and if that condition if true then statements written in if block are executed and if that condition is false then the else block of statements are executed.
So the else statements are just used to execute the statements when then if condition evaluates to be false
+ 1
Thanks