Write a program in java which should accept


Write a program in Java which should accept the following information from the user after prompting an appropriate message:

  • amount of monthly investment (must be positive so you should validate it)
  • annual rate of return (must be between 1% and 10% so you should validate it)

Then it should find how long will it take for your investment to become $1M when the interest is calculated and paid monthly.

Solution Preview :

Prepared by a verified Expert
Macroeconomics: Write a program in java which should accept
Reference No:- TGS01651002

Now Priced at $10 (50% Discount)

Recommended (90%)

Rated (4.3/5)