Question: a. Write an application that prompts a user for the number of years the user has until retirement and the amount of money the user

a. Write an application that prompts a user for the number of years the user has until retirement and the amount of money the user can save annually. If the user enters 0 or a negative number for either value, reprompt the user until valid entries are made. Assume that no interest is earned on the money bisplney the user wll have at retirement Save the fle as RetirementGoal.java b. Modify the RetirementGoal application to display the amount of money the user will have if the user earns 5% interest on the balance every year, Save the file as RetirementGoal2-java
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
