Question: c++ c++ c++ Write a program which allows the user to enter a integer. The program should call a recursive method that determines if the
c++ c++ c++
Write a program which allows the user to enter a integer. The program should call a recursive method that determines if the number is one of the binary multiples (2, 4, 8, 16, 32, 64, etc.). Accomplish this without the use of any boolean variables. The final date/time to submit this assignment is Friday, April 15th at midnight. A financial services company guarantees a 1 % monthly compounded return on your investment. You want to see how long it takes to reach a total of $1,000,000 (million dollars) in investment plus return. Write a program that allows the user to enter a continuous monthly investment (Example - $500 every month) or ($1,000 every month). The program should call a recursive method that returns and displays the total months needed to reach the $1,000,000 goal. Example - At the 1 % compounded monthly rate, and a $1,000 monthly investment, the first month should yield $1,010.00, the second month $2,030.10, the third month $3,060.40, the fourth month $4,101.01, etc. Display how many total months it takes the user to reach the million dollar goal. Remember, the user should be able to input the monthly continuing investment. The rate is always 1 % and compounded monthly. The final date/time to submit this assignment is Friday, April 15th at midnight
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
