subject
Business, 20.12.2019 03:31 HannahW7024

Create class savingsaccount. use static variable annualinter-estrate to store the annual interest rate for all account holders. each object of the class contains a private instance variable savingsbalance indicating the amount the saver currently has on deposit. provide method calculatemonthlyinterest to calculate the monthly interest by multiplying the savingsbalance by annualinterestrate divided by 12- this interest should be added to savingsbalance. provide a static method modifyinterestrate that sets the annualinterestrate to a new value. write a program to test class savingsaccount. instantiate two savingsaccount objects, saver1 and saver2, with balances of $2000.00 and $3000.00, respectively. set annualinterestrate to 3%, then calculate the monthly interest for each of 12 months and show the new balances for both savers. next, set the annualinterestrate to 8%, calculate the next month's interest and show the new balances for both savers.

ansver
Answers: 2

Another question on Business

question
Business, 22.06.2019 03:20
Look at this check register. calculate the current balance. check date transaction (+) deposit balance 5/1 5/3 $82.92 debit 8.00 78.24 005 monthly fee phone bill paycheck 1 125.00 5/15 5/17 5/20 atm 40.00 56.50 006 t ennis lessons the current balance is?
Answers: 1
question
Business, 22.06.2019 04:00
Which law would encourage more people to become homeowners but not encourage risky loans that could end in foreclosure? options: offering first time homebuyers tax-free accounts to save for down payments requiring all mortgages to be more affordable, interest-only loans outlawing home inspections and appraisals by mortgage companies limiting rent increases to less than 2% a year
Answers: 2
question
Business, 22.06.2019 17:00
Serious question, which is preferred in a business? pp or poopoo?
Answers: 1
question
Business, 22.06.2019 22:10
Scoresby co. uses 6 machine hours and 2 direct labor hours to produce product x. it uses 8 machine hours and 16 direct labor hours to produce product y. scoresby's assembly and finishing departments have factory overhead rates of $240 per machine hour and $160 per direct labor hour, respectively. how much overhead cost will be charged to the two products? a. product x = $1,440; product y = $2,560 b. product x = $1,760; product y = $4,480 c. product x = $3,200; product y = $9,600 d. product x = $800; product y = $800
Answers: 1
You know the right answer?
Create class savingsaccount. use static variable annualinter-estrate to store the annual interest ra...
Questions
question
Mathematics, 02.02.2021 22:10
question
English, 02.02.2021 22:10
question
Mathematics, 02.02.2021 22:10
question
Mathematics, 02.02.2021 22:10
Questions on the website: 13722362