Display projected semester tuition amount for the next years

Assignment Help Python Programming
Reference no: EM132357004

Question

PYTHON PROGRAMMING: 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, ...

In 4 years, ...

In 5 years, ...

(If, for example, the tuition would cost 8002.3 dollars in one year, etc.)

HERE'S WHAT TRIED (wont show indentations here):

Semester_Fee = 8000.0

for x in range(1, 6):

Semester_Fee = Semester_Fee + (Semester_Fee *(3/(100*1.0)))

print("In",x,"year, the tuition will be" ,'

, Semester_Fee, end='.n')

Reference no: EM132357004

Questions Cloud

Summarize the concept of fairness as it relates to decisions : Summarize the concept of fairness as it relates to decisions. Describe how the company could improve its image regarding fairness and ethics in decision-making
Write the statement needed to find out how many prime number : Assume a variable n has been associated with positive integer. Write the statements needed to find out how many prime numbers.
Best strategys on staying on top of everything : When managing and running your business what are the best strategy's on staying on top of everything?
Compute the break-even point in sales dollars : A contribution margin as a percentage of sales revenue of 30% and fixed costs of $240,000. Based on this information, the break-even point in sales dollars was
Display projected semester tuition amount for the next 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.
Implications impacting the agency current employment trend : Analyze and describe the implications impacting the agency's current employment trend, growth, and delivery of its products and services.
Write a program that lets the user enter nonnegative integer : Write a program that lets the user enter a nonnegative integer and then uses a loop to calculate the factorial of that number.
Produce a project plan for a suitable project : SHR039-6 - Operations and Project Management - University of Bedfordshire Business School - produce a project plan for a suitable project for your work-place
Cognitive effects of risperidone in children with autism : Cognitive Effects of Risperidone in Children with Autism and Irritable Behavior. Evaluate article and critique the statistical analysis employed in the study.

Reviews

Write a Review

Python Programming Questions & Answers

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd