基本格式if(表述式) 语句段1; ......else 语句段2; ..... 功能:若表达式为true,则执行语句段1;否则执行语句段2。
if(表述式) 语句段1; ......else 语句段2; .....