我这是哪错了啊
#include <stdio.h>
double money(float dis,float ofhour)
{
float money;
if(dis<=3)
{
money=14;
}
else if(dis>3)
{
if(ofhour>=5&&ofhour<23)
{
money=(dis-3)*2.3+14;
}
else if
{
money=(dis-3)*2.3*(1+0.2)+14;
}
}
return money;
}
int main()
{
printf("小明打车费用为%.1f\n",texifee(12,9)+texifee(12,6));
return 0;
}