求解求解第3题!。,

img

img

switch(奖金)
case 奖金<200000:
printf(200000*10%)
case
printf
就这样写呗

switch(profit/200000)
{
case 0:
  money =profit*10%;
  break;
case 1:
  money=20000+0.05*(profit-200000);
  break;
case2:
  money=20000+10000+0.015*(profit-400000);
  break;
}