单分支:if 条件;then blockfi-------------------多分支:if 条件;thenblockelif 条件2;thenblcokelif 条件3;thenblockelse 代码以上条件都为假的分支blcokfi