Condition Statement If () {} Else {} If condition statements can be nested Loop statement For (initialization; terminate loop condition expression; increment) {} For Loop conditions are optional and can be default, but ";" cannot be default. Nesting can be performed multiple times. When the while (condition) {} condition is true, the execution cycle body is false and the loop is exited. You can nest for and while multiple times to check the loop conditions in the header. If the condition is not true, you can exit without executing any loop. Do {} while (condition) executes the loop body first. When the judgment condition is true, the statement is executed. If the condition is false, the loop is exited. Execute at least one loop body. Switch statement Switch (variable ){ Case Constant 1: Case Constant 2: Default : } The variables in the switch are numeric values and the case and default statements in the switch can be cyclic bodies, and {} break can be used in cyclic statements and switch statements, jump out of the previous loop body and switch statement and execute the following statement. Continue: Used in loop statements. It skips the remaining statements in the loop body and forcibly enters the next loop. Goto: unconditional transfer statement. No.