In: Computer Science
Using Python 3
In 2017, the tuition for a full time student in a university is $6,450 per year. The tuition will be going up for the next 7 years at a rate of 3.5% per year. Write your program using a loop that displays the projected year tuition for the next 7 years. You should display the actual year (2018, 2019, through 2024) and the tuition amount per year.
fee=6450
year=2017
rate=3.7
for i in range(7):
fee=fee + (fee*rate)/100
year=year+1
print("In year ",year,"the tution fee is $",fee)