For python write a algorithm and variables/constants/formulas/test data for at one college the tuition for a full-time student is $8,000 per semester.It has been announced that the tuition will increase by 3 percent each year for the next 5 years. Write a program with a loop that displays the projected semester tuition amount for the next 5 years.
# Code.py fee = 8000 months = 5*12 year = 1 for i in range(3,months+1,3): fee = fee + (fee*0.03) if(i%12==0): print("Tuition fee after "+str(year)+" year = "+str(fee)) year+=1
Get Answers For Free
Most questions answered within 1 hours.