hey guys I'm new in perogramming the question is that
(if your salary is 10000 after how many years will be doubled if each year increases by %5)??!!
THink about how you do that...
it's a loop.
you start with salary = 10,000
in each pass of the loop you add 5% to that
when the salary reaches 20000 you exit the loop
the answer is then the number of times you went round the loop
before or after taxes? :)