// (30 lines)
if (charge>10) // flat rate of 10 dollars is charged
charge=10;
return charge;
}
{ // What is this doing here?
double hours[CARS]; // store hours parked by the different cars
I believe your compiler is asking the same question.
If the whole code is less than 100 lines, why not post the whole thing and avoid playing 20 questions?
Reputation Points: 2780
Solved Threads: 312
long time no c
Offline 4,790 posts
since Apr 2004