subject

Write a java program that reads a bank saving account balance and an interest rate and give the output of the account in 5 years and show the amount of the composited account of (1) first yearly, the interest is added once per year at the end of the year. (2) When monthly,

the interest is added 12 times per year, for example if the rate is 8 annually, monthly will be 8/12 and (3) When daily, the interest is added 365 times per year, so if the rate is 8 annually, daily will be 8/365. You do not have to worry about leap years; assume

that all years have 365 days

Your program should have also an outer loop that allows the user to run it again for a new balance and interest rate. The program should be ask the user (“do you want to run it again, enter y/yes for yes or n/no for no ”)

Enter balance from the keyboard
Enter interest from the keyboard
Calculate the composite the value of the composited amount
Yearly the loop should run 5 times
Monthly the loop should run 60 times (5*12)
Daily the loop should run 1825 ( 5*365)
Hint

Formula

balance = balance + (interestRate/100) * balance

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:30
Primary tech skills are skills that are necessary for success in online education
Answers: 3
question
Computers and Technology, 23.06.2019 13:50
Explain how email technologies enable the exchange of messages between users. find out the typical parts of an email address and explain each part.
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
question
Computers and Technology, 24.06.2019 00:00
Consider the series where in this problem you must attempt to use the ratio test to decide whether the series converges. compute enter the numerical value of the limit l if it converges, inf if it diverges to infinity, minf if it diverges to negative infinity, or div if it diverges but not to infinity or negative infinity.
Answers: 1
You know the right answer?
Write a java program that reads a bank saving account balance and an interest rate and give the outp...
Questions
question
Advanced Placement (AP), 16.10.2020 14:01
question
English, 16.10.2020 14:01
Questions on the website: 13722362