Question
I am working on a simple Java program that asks the following: Create a project that asks the user how much money they will deposit
I am working on a simple Java program that asks the following:
Create a project that asks the user how much money they will deposit and what interest rate they choose. In the program, use a loop to calculate the growth in the account balance, and keep track of the number of iterations. When the balance is at least $1,000,000, end the loop and print out how many cycles it took to reach that sum. Include a message about how many cycles it takes to reach the sum of $100,000 as well. This message should only print once, not every time the account balance is greater than $100,000. (Hint: use a Boolean variable to determine if you are still searching for that balance or have already found it and printed the message.)
Any advise on how to work this? Thanks.
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