一.循环(for,while) for循环: for i=begin:step:end ...... end while循环: while condition ...... end 二.分枝(if,if-else,switch-case) if condition ...... else ...... end ======================================== switch var case value1 ... case value2 ... otherwise…