Well this seems pretty similar to another question asked in the forum.
I guess this is going to do rather more than just taking someone's name.
You don't want to put all your code in one place like that.
You want to add classes and methods and break your code up into chunks.
But anyhow.
The literal answer to this is
TotalSpace -= numCars;
Where numCars is the number being parked.
.
Each thread is supposed to be one question.
This is effectively another question to your first post.
Please start a new thread per question.
No comments:
Post a Comment