Question

Write an algorithm (in pseudocode) for the following Scenario. You will need to build a program...

Write an algorithm (in pseudocode) for the following Scenario. You will need to build a program that provides retirement estimates based on user inputs. Your algorithm will ask the user to provide the following information: Full Name Current Age Desired Retirement Age Current Retirement Savings Amount You Need to Retire The program will need to determine the years remaining until retirement and how much is needed to reach the investment goal. Finally, it will print a message to the screen that says: The name, How long until you reach retirement age and How much is needed to be saved between now and then This is not to be written in any programming language--it must be written in pseudocode .

Should I use the word set? or just do name=("Full name") ????

set Name to ("Full Name")

set Age to ("Current Age")

 set DesiredRetAge to ("Desired Retirement Age")

set CurRetSaving to ("Current Retirement Savings")

set amtforret to ("Amount you need to retire")

Homework Answers

Answer #1

Here i am providing the algorithm for the above scenerio. Hope it helps. Please give me a like for my work.

ALGORITHM :

RetirementEstimeate():

BEGIN:

name := read("Full Name")

curAge:= read("Current Age")

desiredRetAge := read("Desired Retirement Age")

curRetSavings:= read("Current Retirement Savings")

amtForRet := read("Amount You Need to Retire")

yrsUntillRet := desiredRetAge - curAge

moneyToBeSaved := amtForRet - curRetSavings

print("Name = ", name)

print("Number of years left to reach retirement age = ", yrsUntillRet)

print("Money to be saved from now on untill you reach your retirement age = ", moneyToBeSaved)

END

Thank you. please like.

Know the answer?
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
Similar Questions
Take control of your life. How much do you need to save for retirement at age...
Take control of your life. How much do you need to save for retirement at age 67 today on a monthly basis. If you started 10 years ago, how much would you have had to save on a monthly basis? How many years until you retire? How many months until you retire? Assume you will earn 6% return on your savings. Assume you will need $500,000 to retire. How much do you need to save monthly to reach this goal?...
Create pseudocode to represent the logic of your program that: Asks the user how many Darth...
Create pseudocode to represent the logic of your program that: Asks the user how many Darth Vader Check Print Silk Ties they want to buy. Each Darth Vader Check Print Silk Tie costs the user $64.99. Calculate how much the user will spend. If the user spends over $200.00, they are a big spender. You will set the value of a character variable to indicate whether they are a big spender or not. Display a message stating how much the...
You are 35 years old, and have not saved any money yet. You hope to retire...
You are 35 years old, and have not saved any money yet. You hope to retire at age 65, with a sustainable income of $150,000 per year of current buying power. You assume that inflation will be 3.1% and the fund you want to invest in will return 7.61% per year from now until your death. 1) What is that amount in future actual dollars? $ 2) how much do you need to save each year to reach your savings...
You calculate you’ll need $2,600,000 saved for retirement when you plan to retire in 40 years....
You calculate you’ll need $2,600,000 saved for retirement when you plan to retire in 40 years. You think you will earn 12% per year on your investments (ignore taxes) and currently have no savings. You want to save the same amount each month going forward (i.e. your monthly contribution to your retirement fund will always be the same), and you will save this amount at the end of each month. How much money do you need to save each month...
You have a couple who are 31 years old, and want to retire at the age...
You have a couple who are 31 years old, and want to retire at the age of 67. Knowing that, the couple has a combined annual income of $95,000 today. 1. If the couple want to procrastinate their retirement savings until they reach 35, and if retirement savings will grow at a rate of 8%, how much would they need to save per year, at the end of every year, in order to achieve the $2 million target by the...
You are 35 years old, and have not saved any money yet. You hope to retire...
You are 35 years old, and have not saved any money yet. You hope to retire at age 65, with a sustainable income of $150,000 per year of current buying power. You assume that inflation will be 3.1% and the fund you want to invest in will return 8.49% per year from now until your death. a) What is your real rate of return? _____ b) How much money do you need in today's dollars to reach your income goal?...
You are 35 years old today and want to plan for retirement at age 65. You...
You are 35 years old today and want to plan for retirement at age 65. You want to set aside an equal amount every year from now to retirement. You expect to live to age 85 and want to withdraw a fixed amount each year during retirement that at age 65 will have the same purchasing power as $83,697 has today. You plan on withdrawing the money starting the day you retire. You have not saved any money for retirement....
You are 43 years old today and want to plan for retirement at age 65. You...
You are 43 years old today and want to plan for retirement at age 65. You want to set aside an equal amount every year from now to retirement. You expect to live to age 95 and want to withdraw a fixed amount each year during retirement that at age 65 will have the same purchasing power as $98,093 has today. You plan on withdrawing the money starting the day you retire. You have not saved any money for retirement....
You are 44 years old today and want to plan for retirement at age 65. You...
You are 44 years old today and want to plan for retirement at age 65. You want to set aside an equal amount every year from now to retirement. You expect to live to age 96 and want to withdraw a fixed amount each year during retirement that at age 65 will have the same purchasing power as $94,725 has today. You plan on withdrawing the money starting the day you retire. You have not saved any money for retirement....
You are 23 years old and decide to start saving for your retirement. You plan to...
You are 23 years old and decide to start saving for your retirement. You plan to save $ 6,500 at the end of each year​ (so the first deposit will be one year from​ now), and will make the last deposit when you retire at age 69. Suppose you earn 12% per year on your retirement savings. a. How much will you have saved for​ retirement? b. How much will you have saved if you wait until age 40 to...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT