Question
For PYTHON! 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
For PYTHON!
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.
Your programs output must exactly match the output shown in the sample run below. Notice the wording of the messages and the placement of spaces and punctuation. Also, make sure that the tuition amounts are rounded to two decimal places.
Sample Run
In 1 year, the tuition will be $8240.0.
In 2 years, the tuition will be $8487.2.
In 3 years, the tuition will be $8741.816.
In 4 years, the tuition will be $9004.07048.
In 5 years, the tuition will be $9274.192594400001.
When I type in my code to run it, I get the years 1-4 correct but for year 5, I can only reach the last 4 in the value. I cannot seem to get the 00001 at the end of the value to be incorporated to the answer. Can someone help me out, Thanks!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started