大神帮我看下我这哪里错了啊QAQ
#include <stdio.h>
float taxiFee(int time,int miles)
{
float money;
if(miles<=3)
{
money=13+1;
printf("打车费用为14元\n",money);
}
eles
{
if(time>=23 || time<=5)
{
money=13+1+(miles-3)*2.3*1.2;
printf("打车费用为%d元\n",money);
}
else
{
money=14+(miles-3)*2.3;
printf("打车费用为%d元\n",money);
}
}
return money;
}
int main()
{
float sum=taxiFee(9,12)+taxiFe(18,12);
printf("每天打车费用为%f\n",sum);
return 0;
}