+ 1
For if and else
its given all else statements should have corresponding if statements...is it necessary that all "if statements" should have corresponding "else statments"
1 Answer
+ 11
Nope! You can have a standalone if statement, when there's no need to do something else if it's false.