Computer Science, asked by nepu06, 1 year ago

Write the difference between If Then Else and If Then statement. ​

Answers

Answered by Anonymous
6

\darkpink{Hola\:Mate}

⭐If else and if else if, have in common, the part if else, both check some condition, before executing the next statement, if the condition is evaluated to true, both, executes the next statement, and if the condition is evaluated to false, both, executes the statement that belong to else, the difference, is that if else, simply stops here, and if else if instead executing statements that belong to the else, it jumps to evaluate a final condition defined for the last if “if Else” “if(the other if)”, and if this evaluates to true, it will execute a statement that must be defined for that if, if it evaluates to false, simply it doesn’t nothing.⭐

Similar questions