if(表达式) 语句 在C语言中,0表示假,非0表示真。 else if(表达式) 语句 else 语句 嵌套if语句 在if else语句中,else可以与另一个语句连用 注意:else与最近的if匹配