This document describes how to implement if conditional statements, logic, and comparison operations in block coding.
▶Conditional statement
- A conditional statement is a statement that performs a calculation or response that depends on the result of a given conditional expression.
1) Logic - if / Logic, Comparison Operation Blockset
- A blockset that implements conditional statements by combining if statements, logic, and comparison operational blocks.
- Click the ⚙️ button to add or delete conditions in logical comparison form (&&, ||)
- Write the logic to act when the result of the condition is true in the area below.

2) elseif
- A case where the result of the if statement is not true is verified by adding a condition to the else if block.
- Click the ⚙️ button to add or delete conditions in logical comparison form (&&, ||)
- Write the logic to act when the result of the condition is true in the area below.

3) else
- Write the logic in the area below to act if all conditions of the if statement and else if statement are false.