1.用户交互Scanner 2.顺序结构 3.选择结构 3.1 if单选择结构 3.2 if双选择结构 3.3 if多选择结构 3.4 if的嵌套 3.5 switch case 4.循环结构 4.1 while 4.2 do while 4.3 for 5.break和continue