今天朋友遇见一串代码错误,向我求助: 报错原因为 :Operator '<' cannot be applied to 'boolean', 'int' 意思是运算符不能适用于布尔 应该把4<a<12改为4<a & a>12