Question

In: Computer Science

10. Tuition Increase At one college, the tuition for a full-time student is $8000 per semester....

10. Tuition Increase

At one college, the tuition for a full-time student is $8000 per semester. It has1 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.

Solutions

Expert Solution

PYTHON CODE:

print('* * * Semester Fees for the next 5 years * * *\n')

# variable to store the initial semester fee
semester_fee = 8000

# loop to print the semester for the 5 years
for i in range(5):

    # incrementing the semester fee by 3 percentage every year
    semester_fee = semester_fee + semester_fee * (3/100)

    # printing the fees
    print('Semester fee for the year %d: $%.2f' % (i+1,semester_fee))

SCREENSHOT FOR CODING:

SCREENSHOT FOR OUTPUT:


Related Solutions

At one college, the tuition for a full-time student is $8,000 per semester. It has been...
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 3 years, …...
Margo attends college and spends $10,000 for one year's tuition. If she worked a full time...
Margo attends college and spends $10,000 for one year's tuition. If she worked a full time job instead of going to school, she would earn $20,000. To an economist, Margo’s opportunity cost for one year in college is Group of answer choices a.$120,000 b.$30,000 c.$10,000 d.$20,000
Using Python 3 In 2017, the tuition for a full time student in a university is...
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.
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 $100 per semester credit hour. Average class size for a typical 3 -credit course is 50 students. Labor costs are $4 comma 500 per class, materials costs are $18 per student per class, and overhead costs are $24 comma 000 per class. The multifactor productivity ratio currently is 1.33 and the labor productivity ratio is $174.11 per hour if the instructors work on...
Sam is a 25-year-old college student. He works full time in addition to taking a full...
Sam is a 25-year-old college student. He works full time in addition to taking a full course load. He usually eats fast-food cheeseburgers and fries in his car for lunch and a take-out pepperoni pizza right before bed. Sam has noticed that he has put on some extra weight in the past few months, and his clothes are fitting very tight. He also has been experiencing severe heartburn several nights a week. Come up with some changes that Sam can...
A student at a junior college conducted a survey of 20 randomly selected​ full-time students to...
A student at a junior college conducted a survey of 20 randomly selected​ full-time students to determine the relation between the number of hours of video game playing each​ week, x, and​ grade-point average, y. She found that a linear relation exists between the two variables. The​ least-squares regression line that describes this relation is ModifyingAbove y with caret equals negative 0.0559 x plus 2.9289. (a) Predict the​ grade-point average of a student who plays video games 8 hours per...
A student at a junior college conducted a survey of 20 randomly selected? full-time students to...
A student at a junior college conducted a survey of 20 randomly selected? full-time students to determine the relation between the number of hours of video game playing each? week, x, and? grade-point average, y. She found that a linear relation exists between the two variables. The? least-squares regression line that describes this relation is y = -0.0503x + 2.9381. (a) Predict the grade-point average of a student who plays video games 8 hours per week. The predicted grade-point average...
A student at a junior college conducted a survey of 20 randomly selected​ full-time students to...
A student at a junior college conducted a survey of 20 randomly selected​ full-time students to determine the relation between the number of hours of video game playing each​ week, x, and​ grade-point average, y. She found that a linear relation exists between the two variables. The​ least-squares regression line that describes this relation is ModifyingAbove y with caret equals negative 0.0592 x plus 2.9446. ​(a) Predict the​ grade-point average of a student who plays video games 8 hours per...
You have been accepted into college. The college guarantees that your tuition will not increase for...
You have been accepted into college. The college guarantees that your tuition will not increase for the four years you attend college. The first $10,000 tuition payment is due in six months. After that, the same payment is due every six months until you have made eight payments. The college offers a bank account that allows you to withdraw money every six months and has a fixed APR of 4% (semiannual) guaranteed to remain the same over the next four...
10. A college raises its annual tuition from $23,000 to $24,000, and its student enrollment falls...
10. A college raises its annual tuition from $23,000 to $24,000, and its student enrollment falls from 4,877 to 4,705. Compute the price elasticity of demand. (Would demand be elastic or inelastic?) a. 1.25 b. .84 c. .56 d. 2.34 11. As the price of good X rises from $10 to $12, the quantity demanded of good Y rises from 100 units to 114 units. Are X and Y substitutes or complements? What is the cross elasticity of demand? a....
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT