请问哪里错了
#include <stdio.h>
int startpay=13
double payment(int s,int tim)
{
if(tim>=5&&tim<=23)
{
payment=2.3*s;
}
else
{payment=2.3*1.2*s;
}
return payment;
}
int main()
{
double spay,pay,spayment,elsepayment,sar;
sar=1;
elsepayment=2*(startpay+sar);
spay=payment(12,9)+payment(12,18);
pay=spay+elsepayment;
printf("小明每天打车的总费用为%f\n",pay);
return 0;
}