📅  最后修改于: 2022-03-11 14:59:23.191000             🧑  作者: Mango
代码示例1
switch (true) {
case (amount >= 7500 && amount < 10000):
//code
break;
case (amount >= 10000 && amount < 15000):
//code
break;
//etc...