请问大家我的哪里出错了,谢谢喔~
#include <stdio.h>
extern int price(x,time)
{
float N;
if(x>=3)
{
if(23<=time<=24||0<=time<=5)
{
N=13+1+(x-3)*2.3*1.2;
}
else
{
N=13+1+(x-3)*2.3;
}
}
else
{
N=12+1;
}
}
int main()
{
float N1=price(12,9);
float N2=price(12,18);
float NN=N1+N2;
price();
printf("打车需要%f\n元",NN);
return 0;
}