0
已采纳
朱小川
缔造者
缔造者
if(a<=3500){ b=0; }else if(a>3500&&a<5000){ b=a*0.03; }else if(a>5000&&a<=8000){b=1500*0.03+(a-5000)*0.1; }else if(a>8000&&a<=12500){ b=1500*0.03+3000*0.1+(a-8000)*0.2; }else if(a>12500&&a<=38500){ b=1500*0.03+3000*0.1+4500*0.2+(a-12500)*0.25; }else if(a>38500&&a<=58500){ b=1500*0.03+3000*0.1+4500*0.2+26000*0.25+(a-38500)*0.3; }else if(a>58500&&a<=83500){ b=1500*0.03+3000*0.1+4500*0.2+26000*0.25+20000*0.3+(a-58500)*0.35; }else if(a>83500){ b=1500*0.03+3000*0.1+4500*0.2+26000*0.25+20000*0.3+25000*0.35+(a-83500)*0.45; }else if(a==5000){b=45.00; }