Posted: Tue Jan 13, 2004 9:03 am Post subject: (No subject)
Maybe you could just do it easy...put it in a for loop.
if km=100 then
This goes through a for loop 1.. the length of the trip.A variable adds each kilometre it goes. When it hits 100 kilometres, the car loses 50 gas. This can be changed..it can lose like 1 gas every kilometre...but im not sure how much gas you want it to take per kilometre...so just edit that.