Question

(**IN PYTHON**) In 2019, the tuition for a full time student is $7,180 per semester. The...

(**IN PYTHON**) In 2019, the tuition for a full time student is $7,180 per semester. 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 semester tuition for the next 7 years. You may NOT hard code each years tuition into your program. Your program should calculate the tuition for each year given the starting tuition in 2019 ($7, 180) and the rate of increase (3.5%). You should then display the actual year (2020, 2021, through 2026) and the tuition amount per semester for that year.

REMEMBER to use comments to explain what your program is doing.

Some Example output might be:

2019: $7,180

2020: $<2020 tuition>

2021: $<2021 tuition>

** Please no decimal numbers for the output thanks**

0 0
Add a comment Improve this question Transcribed image text
Answer #1
#Code.py
#Initial fee
fee = 7180
#Initial year
year = 2019
#Looping for 7 times
for i in range(7):
    #Printing year and the fee in that year
    print(str(year)+": $"+str(fee))
    #Updating fee by increasing by rate of (3.5%).
    fee = int(fee*(103.5/100))
    #Updating the year by 1
    year += 1

2019: $7180
2020: $7431
2021: $7691
2022: $7960
2023: $8238
2024: $8526
2025: $8824
Add a comment
Know the answer?
Add Answer to:
(**IN PYTHON**) In 2019, the tuition for a full time student is $7,180 per semester. The...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Python, please help At one college, the tuition for a full-time student is $8,000 per semester....

    Python, please help 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. The program should print out the result in the form In 1 year, the tuition will be $8002.3. In 2 years, the tuition will be $8103.2. In...

  • For this program you will be looking at future tuition at your university. In 2017, the...

    For this program you will be looking at future tuition at your university. In 2017, the tuition for a full time student is $6,450 per semester. The tuition will be going up for the next 7 years at a rate of 3.5% per year. Write your program in PYTHON using a loop that displays the projected semester tuition for the next 7 years. You should display the actual year (2018, 2019, through 2024) and the tuition amount per semester for...

  • Write the pseudocode. At one college, the tuition for a full-time student is $6,000 per semester....

    Write the pseudocode. At one college, the tuition for a full-time student is $6,000 per semester. It has been announced that the tuition will increase by 2 percent each year for the next five years. Design a program with a loop that displays the projected semester tuition amount for the next five years.

  • This is an Introduction to Programming Course It is in Python 3. At one college, the...

    This is an Introduction to Programming Course It is in Python 3. 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. The program should print out the result in the form: In 1 year, the tuition will be $8240.0....

  • Student tuition at Boehring University is $160 per semester credit hour. The state supplements school revenue...

    Student tuition at Boehring University is $160 per semester credit hour. The state supplements school revenue by $70 per semester credit hour. Average class size for a typical 3-credit course is 50 students. Labor costs are $4,200 per class, materials costs are $22 per student per class, and overhead costs are $27,000 per class. The multifactor productivity ratio currently is 1.07 and the labor productivity ratio is $154.02 per hour if the instructors work on an average of 14 hours...

  • I need help on part b Student tuition at Boehring University is $150 per semester credit...

    I need help on part b Student tuition at Boehring University is $150 per semester credit hour. The state supplements school revenue by $90 per semester credit hour. Average class size for a typical 3-credit course is 55 students. Labor costs are $5,200 per class, materials costs are $23 per student per class, and overhead costs are $27,000 per class. The multifactor productivity ratio currently is 1.18 and the labor productivity ratio is $176.79 per hour if the instructors work...

  • 11. Quantitative Literacy (using numerical data to reason and accurately solve quantitative problems.) Part a. Analyzing...

    11. Quantitative Literacy (using numerical data to reason and accurately solve quantitative problems.) Part a. Analyzing 10 years of tuition data la. Interpretation The following Table A shows the average costs for the indicated academic year for all Texas public two-year community colleges. 2008-2009 2009-2010 2010-2011 2011-2012 2012-2013 2013-2014 2014-2015 $1662 $1746 $1858 $2040 $2146 $2204 $2290 2015-2016 2016-2017 2017-2018 2018-2019 2019-2020 2020-2021 $2324 $2437 $2560 $2620 ? ? Table A Texas Public Two-Year In-District Tuition and Fees Source: The...

  • BarrApCalcir7 23063 The following graph shows the average annual college tuition costs (tuition and fees) for a year...

    BarrApCalcir7 23063 The following graph shows the average annual college tuition costs (tuition and fees) for a year at a private nonprofit or public four-year college. The data are given for five-year intervals. 30,000 25,000 20,000 private 15,000 F 10,000 5000 public 2010-2011 The tuition for a private college is approximated by the function f(x) = 650x2 + 3000x+12,000, where x 2000-2001 2005-2006 Year years in the graph are numbered x 0 through x 3). (a) Use this function to...

  • 1068 TIME VALUE OF MONEY 11. In 1966, the average tuition for 1 year in the...

    1068 TIME VALUE OF MONEY 11. In 1966, the average tuition for 1 year in the MBA program at the University of Chicago was $3,600. Thirty years later, in 1996, the average tuition was $27,400. What is the compound annual growth rate in tuition (rounded to the nearest whole percentage) over the 30-year period? 12. You want to buy a Volvo in 7 years. The car is currently selling for $50,000, and the price will increase at a compound rate...

  • 1. Assume that your private university's tuition is $28,000 a) If inflation rate for the tuition ...

    1. Assume that your private university's tuition is $28,000 a) If inflation rate for the tuition is 5% per year calculate what the tuition will cost 20 years from now? b) If general inflation rate for the economy is 3% per year, express that future tuition 20 years from now in real dollars, based on today's rate. 2. The local gas company has asked the planning department of your company to help them plan for future cash flows. They want...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT