Question: python code: this question is from tony gaddis edition 5. chapter Repetition structures. please use the following function when needed: While loop, for loop, controlled

python code: this question is from tony gaddis edition 5. chapter Repetition structures. please use the following function when needed: While loop, for loop, controlled loop, calculating running total, sentinels, input validation loops, nested loops.
python code: this question is from tony gaddis edition 5. chapter Repetition

Write a program that projects yearly income, the amount saved towards retirement each year, and total retirement savings. Assume a 3 percent raise on the starting income each year, and a 6% yearly return on investment. You will need to ask the user their current age, at what age they want to retire, what their current income is, what percent of their income they save each year, and how much they currently have in savings. You will calculate how many years until retirement, and display the projected income, savings contribution, and total savings each year. Hints: Assume they will enter a whole number for the percent of income saved and divide it by 100 ( for 8 percent 8/100=.08 ). Sample Output: How old are you currently? 50 At what age do you want to retire? 65 What is your yearty incone? 109000 What percent of your income do you save? 12 How much money do you currently have in savings? 100000 This projection assumes a 3% raise each vear and a 6x vearly

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!