float calcCarCost (char vehicletype, int time, float car)
{

if ((time > MINTIME) && (time <= 3))
calcCarCost =( CAR * time );


}
You're trying to assign to your function name.