请大神指教
#include<stdio.h>int main()
{
int i,c;
float jiangjin;
printf("请输入当月利润:\n");
scanf("%d",&i);
c=i/100000;
if(i>1000000)
c=5;
switch(c)
case'0':jiangjin=i*10%;break;
case'1':jiangjin=100000*10%+(i-100000)*7.5%;break;
case'2':jiangjin=100000*10%+100000*7.5%+(i-200000)*5%;break;
case'3':jiangjin=100000*10%+100000*7.5%+200000*5%+(i-400000)*3%;break;
case'4':jiangjin=100000*10%+100000*7.5%+200000*5%+200000*3%+(i-600000)*1.5%;break;
case'5':jiangjin=100000*10%+100000*7.5%+200000*5%+200000*3%+400000*1.5%+(i-1000000)*1%;break;
default:printf("请重新输入!\n");break;
printf("应发放奖金总数为%10.2f\n",jiangjin);
return 0;