13,420
edits
Changes
→Control Flow Statements
[[Image:logic-2.png|thumb|right|210px|Example of how an '''if-else''' control-flow statement.]]
Unlike using only an ''if'' statement, an '''if-else''' statement take '''two different sets of actions'''<br>based on the results of the test condition.<br><br>
''Example:''