哪错了求解答
#include <stdio.h>
float taxiFree(int clock,int mile)
{
if (clock<23);
{ cost=((mile-3)*2.3+13+1)*2;
printf("%f\n",cost);
}
else
{
if(clock>=23||clock<5);
{
cost=((mile-3)*1.2*2.3+13+1);
printf("%f\n",cost);
}
else(mile<=3)
{
cost==14;
printf("%d\n",cost);
}
return cost;
}
}
int main()
{
float taxiFree(9,12)+taxiFree(18,12);
printf("总费用\n",cost);
return 0;
}