Question
write a java program where Melanie who wants to start a college fund for her children. She contemplates to invest some money in securities, but
write a java program where Melanie who wants to start a college fund for her children. She contemplates to invest some money in securities, but she needs a program to assist her in deciding how many years she has to invest. The program reads in the amount of initial investment, the amount of money needed for her children to go to college, and the projected annual return rate (in percent). The program then displays the minimum number of years needed to generate enough money for her children to go to college. A sample output looks like the one below: Enter the amount of initial investment: 5000.00 Enter the amount of target college fund: 40000.00 Enter the projected annual return rate (in %): 8 If you invest $5,000.00 with 8.00 percent annual return rate, you have to invest at least 28 years to reach the target college fund. Your future investment value will be $43,135.53.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started