请问我这哪里错了
#include <stdio.h>
int fee(int mile,int time)
{
float a = 2.3;
int b = 13;
float cost;
if(mile>3)
{
if(23 <= time < 5)
{
cost = b +(mile-3)*2.3*1.2+1;
}
else (time<23 || time>5)
{
cost = b +(mile-3)*2.3+1;
}
}
else(mile <= 3)
{
cost = b;
}
return cost;
}
int main()
{
float sum = fee(12,9) + fee(12,18);
printf("小明每天打车的总费用为%.2f元",sum);
return 0;
}