is there any particular reason that you're even bothering to calculate based on hours and days? there's no need to scale the program down that much. you will probably be able to do this much easier if you just use years.
prefx @ Mon Jan 12, 2009 7:55 pm wrote:
e.g. next years price = current years price * 0.90
price next year = 84.00 * 0.90
= 75.60
price in 2 years = 75.60 * 0.90
= 68.04
that is essentially the whole program written for you, in pseudocode, in your own post. just take the starting price, multiply by 0.9, and repeat with the result.