这个代码我到底哪错了,求教
#include<stdio.h>int main(void)
{
int f;
const double fs = 3.50;
const double sf = 0.15;
const double ss = 0.20;
const double fd = 0.10;
double fss = 0.0;
printf("you:");
scanf("%d",&f);
f = f>100?60:f;
fss = f*fs*(1.0- (f>50?sf:(f>20?ss:(f>10?fd:0.0))));
printf("%.1e\n\n",fss);
return 0;
}
这个代码我到底哪错了,运行报一个错误