If else statement Homework Help
In If Statement, when the condition is true then only the statement is executed. What will happen when the condition is false. Obviously … nothing. Suppose we want something to happen if the condition is false, in that case we use If-Else Statement.
- If Statement
- Multiple if statement
- If else statement
- Nested if else statement
- Else if statement
- Conditional Operator
- The switch statement