Question
Compound interest is when the interest you earn on a balance in a savings or investing account is reinvested, earning you more interest. Write a
Compound interest is when the interest you earn on a balance in a savings or investing account is reinvested, earning you more interest.
Write a Compound Interested Saving calculator that prompt user for three numbers.
1. The starting amount of saving.
2. The monthly interest rate in percent (%). So, when user enter 1, it means 1% or 0.01.
3. The number of months the saving will terminate (when to withdraw the saving).
The formula for the total amount by the end of each month is
ending amount = (beginning amount) * (1.00 + percent/100.0)
The program will then print out the total amount of money by the end of this period.
Using eclipse IDE and java script
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