请问大佬这样编程哪里错了,请指教是否感谢!!
#include <stdio.h>
float Amoney(float n,float s,)
{
float a=2.3;
float sum;
if(5<s<=23&&n<=3)
{
sum=13+1;
}
else if(5>s&&s>=23&&n<=3)
{
sum=13*0.2+1;
}
else if(5>s&&s>=23&&n>3)
{
sum=n*a*0.2+1;
}
else
{
sum=n*a*+1;
}
return sum;
}
int main()
{
float asfs=Amoney(4,5);
printf("小明每天打车为%f\n",asfs);
return 0;
}