41
Figure 3-38 Logic instructions
Conditional statement:
If one of the conditional statements corresponds to the end of
a condition, it is used to judge multiple states. Otherwise, if not, otherwise the compilation
cannot pass. When judging again under a condition, you need to add a conditional
statement again using a nested structure.
Figure 3-39 Conditional instructions
Loop statement: The
condition after the loop statement meets the set condition, and
the program repeatedly executes the content in the loop body.