My Friend,
This is an obvious logic that user can enter 100 cars even if you only have 3 cars. The reason is explained below... You may have to read :P
1. The first if condition as per given by you is :
if (availabilitySAGA > 0) { } else { }
This condition thereby is completely wrong. The Logic is wrong.
2. Now, the logic should be this
-> Check if AvailabilitySAGA == 0 'cause you are not going to go in minus can you?
-> Compare the AvaialabilitySAGA >= Entered amount; This is the correct logic.
-> Do whatever you want based on the positivity of the condition.
3. You generally should try to do a paper-pen simulation i.e. making flow charts and pseudo codes, before writing any logic. It will reduce considerable red eyes due to excessive debugging by you all night :P
I tried to put it in a fun way... Hope that it helped although I had read your comment already that you solved the problem yourself. It's really good. :)
With Regards
Tushar Srivastva