用等效的
if-then-else
语句替换使用布尔表达式的
return
语句。