Expression syntax in function main怎么改?
main(){
float I,T;
scanf("%f",&I);
if(I<=10) T=I*10%;
else if(I<=20) T=10*10%+(I-10)*7.5%;
else if(I<=40) T=10*10%+10*7.5%+(I-20)*5%;
else if(I<=60) T=10*10%+10*7.5%+20*5%+(I-40)*3%;
else if(I<=100) T=10*10%+10*7.5%+20*5%+20*3%+(I-60)*1.5%;
else T=10*10%+10*7.5%+20*5%+20*3%+40*1.5%+(I-100)*1%;
printf("%f\n",T);
}
第五行开始 后面都有语法错误 请问我该怎么改啊?