write two difference between if and if else statement
Answers
Answered by
0
An “else if” block leads to a further level of nesting. In case the “if” condition is false, then the “else if” condition is evaluated in a sequential manner till a match is found. In case all conditions fail, then the action defined in the “else” clause is executed. ... The “if” condition remains the same.
Similar questions