A). Write an application that prompts a user for the number of years the user ha
ID: 3722691 • Letter: A
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 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. Display the amount of money the user will have at retirement. Save the file 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.
Java Programming 8th Edition
Chapter 6 Exercise 10
Explanation / Answer
//*************************************Answer for (B) ***************************************
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.