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
My mom and i are moving and we don’t have wifi for the next week, i want to know if using a using a hotspot with unlimited data is better than using regular wifi. i’m considering cost, speed, and data sacrifices.
Answers: 1
question
Computers and Technology, 22.06.2019 19:40
Solve the following javafx application: write a javafx application that analyzes a word. the user would type the word in a text field, and the application provides three buttons for the following: - one button, when clicked, displays the length of the word.- another button, when clicked, displays the number of vowels in the word.- another button, when clicked, displays the number of uppercase letters in the word(use the gridpane or hbox and vbox to organize the gui controls).
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
Report all segments of identity by descent longer than 20 polymorphisms between pairs of individuals in the following cohort of 15 individuals across 49 polymorphisms: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 numeric input 2 points possible (graded) you have 2 attempts to complete the assignment below. for example if the sequence is "bcd", which occurs in "abcdef" , the starting point would be 2 (b), and the finishing point would be 4(d). individuals 7,10 between positions
Answers: 1
question
Computers and Technology, 23.06.2019 20:00
How much current flows through the alternator brushes? a. 2–5 a b. 25–35 a, depending on the vehicle c. 5–10 a d. 10–15 a
Answers: 2
You know the right answer?
An investment company guarantees a 2% monthly compounded return on your investment. You want to see...
Questions
question
English, 03.06.2021 20:00
question
Mathematics, 03.06.2021 20:00
question
Mathematics, 03.06.2021 20:00
question
Arts, 03.06.2021 20:00
Questions on the website: 13722363