利润除以十万的到 0 1 2 3 对switch方便使用
x= x/100000;
switch(x)
case 0: // x < 1 00000
.....
break;
case 1://1 00000 < x <= 2 00000
.....
break;
case 2:
case 3://2 00000 < x <= 4 00000
.....
break;
case 4:
case 5: //4 00000 < x <= 6 00000
.....
break;
case 6:
case 7:
case 8:
case 9: // 6 00000 < x <= 10 00000
.....
break;
default:
..... //>10 00000
break