Finger Lakes Calculation of Current Level of Retirement Savings Python Program

User Generated

ptbzrmcr

Programming

Finger Lakes Community College

Description

This question will implement the algorithm you developed in the Week 1 Algorithm lab (See uploaded file). The Retirement Advisor algorithm.

To complete this question, you will develop a python program that will determine how many years until retirement and how much is still needed to save.

To complete this program successfully the program must be designed to collect the following inputs from the user:

  • Full Name
  • Current Age
  • Desired Retirement Age
  • Current Level of Retirement Savings
  • What Is the Total Amount of Retirements Savings Is Needed at Retirement

Finally, the program will need to output a simple statement (or statements) that show the name, how many years left to retirement and how much needs to be saved to reach your retirement goals.

The program must run when called up in Python or running from the command line. You must document your code using comments so reviewer will know what you are attempting to do.

Unformatted Attachment Preview

Algorithm to estimate the retirement savings Start Step 1: Declare variables Full Name as name Current Age as cAge Desired retirement age as drAge Current retirement savings as crSavings Amount need to retire as arSavings Step 2: Input the values from user name cAge drAge crSavings arSavings Step 3: Declare a variable to store age difference between current age and desired retirement age as ageDiff Step 4: ageDiff = drAge - cAge Step 5: Declare a variable to store the amount difference between current savings and desired savings as savingsDiff Step 6: savingsDiff = arSavings - crSavings Step 7: Print the name Step 8: Print ageDiff Step 9: Print savingsDiff 1 1 Algorithm to estimate the retirement savings Start Step 1: Declare variables Full Name as name Current Age as cAge Desired retirement age as drAge Current retirement savings as crSavings Amount need to retire as arSavings Step 2: Input the values from user name cAge drAge crSavings arSavings Step 3: Declare a variable to store age difference between current age and desired retirement age as ageDiff Step 4: ageDiff = drAge - cAge Step 5: Declare a variable to store the amount difference between current savings and desired savings as savingsDiff Step 6: savingsDiff = arsavings - crSavings Step 7: Print the name Step 8: Print ageDiff Step 9: Print savingsDiff
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

View attached explanation and a...

Related Tags