This is the condition that my instructor gave:

with every year that goes by the price of the product decreases as follows:

year 1=20%

year 2=29%

year 3=19.5%

year 4=18.5%

year 5=17.5%

year 6=16.5%

year 7=15.5%

year 8=14.5%

year 9=13.5%

year 10=12.5%

how can i make a program using these variables, using only if statement and loops....

help please....