请问这代码哪里有错?
#include <stdio.h>
int Yue(int n,float mile,float time,float clock)
int main()
{float mile,time,clock;
static int n;
printf("每天打车用的总费用为%d",Yue(n,mile,time,clock))
n++;
return 0;
}
int Yue(int n,int mile,int time,int clock)
{
float money;
if(mile<=3)
{
money=13;
else
if(clock>=23&&clock<5)
money=1.2*(mile-3)*2.3+13;
else
money=(mile-3)*2.3+13;
}
if(n!=0)
money+=n;
return money;
}