HELP with Control Structures II (Repetition)

Having difficulty with this practice problem.

Write a program that prompts a user for Input for the number of years the user has until retirement and the fixed amount the user can save monthly.
Assume that a 5% interest is earned on the balance every month. Display the amount of money the user will have at retirement.

Use the following formula:
endingbalance = (endingbalance + moneysaved) +(endingbalance * .05)
What exactly are you struggling with? This program is input/output of numbers and some math where the expression is given to you.

What have you written so far?
Last edited on
Topic archived. No new replies allowed.