subject

An investment company guarantees a 2% monthly compounded return on your investment. You want to see how long it takes to reach a total of $500,000 dollars in investment plus return. Write a program that allows the user to enter a continuous monthly investment (Example - $200 every month) or ($600 every month). The program should call a recursive method that returns and displays the total months needed to reach the $500,000 dollar goal. Example - At the 2% compounded monthly rate, and a $400 continuous monthly investment, the first month the user makes $8 interest and has $408.00 dollars, the second month the user adds $400 and makes $16.16 interest and now has $824.16, the third month the user adds $400 and makes $24.48 in interest and now has $1,248.64 dollars, etc. Display how many total months it takes the user to reach the $500,000 dollar goal. Remember, the user should be able to input the continuous monthly investment. The rate is always 2% and compounded monthly.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:30
Is a string of code written to hurt others by damaging or destroying
Answers: 1
question
Computers and Technology, 22.06.2019 13:30
Write lines of verse that rhyme to remember the following information: acid rain is a type of air pollution caused by chemicals in the air.
Answers: 1
question
Computers and Technology, 22.06.2019 19:10
What a backup plan that you have created in a event you encounter a situation
Answers: 2
question
Computers and Technology, 22.06.2019 23:00
Which factor is the most important when choosing a website host? whether customers will make secure transactions the number of email accounts provided the purpose of the website the quality of the host control panel
Answers: 3
You know the right answer?
An investment company guarantees a 2% monthly compounded return on your investment. You want to see...
Questions
question
Mathematics, 02.11.2020 22:10
question
Chemistry, 02.11.2020 22:10
question
Spanish, 02.11.2020 22:10
Questions on the website: 13722363