if (条件){
当条件为 true 时执行的代码} else { 当条件不为 true 时执行的代码}
2018.07.18if条件语句swich条件语句
原文:https://www.cnblogs.com/sccwxl/p/9332792.html