nevermind solved it! , sorry!
nevermind solved it! , sorry!
Last edited by blastfromthepas; 10-31-2009 at 04:20 AM. Reason: solved
Change "result" to cars, then use this to figure tires left:
Tires Left = Starting tires - (4 * number of cars)
or
Tires Left = starting tires % (4 * number of cars)
And you should use int's as your data type, instead of floats - unless you're going to start installing just fractions of tires, or put them on fractions of cars.
Last edited by Adak; 10-31-2009 at 04:08 AM.