Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Balance toshow balance. NewBalance to get New balance from the user. Adjustment

ID: 3612082 • Letter: B

Question

    Balance toshow balance.

   NewBalance to get New balance from the user.

    Adjustment in order to do the adjustmentin balance.

    Annual Interest Rate is usedfor the calculation of the interest.

    Interest data member to show theinterest amount.

    Deposit() to despite amount in the account.

    Withdrawal ()to withdraw the amount from the bank.

    Balance() function for displaying the current balance.

    InterestRate () to set the interest rate. You must getinterest

         rate from theuser.                                        

    AnnualInterest () is used to calculate theinterest. The interest

     calculated should be deducted from the balance and the newbalance

      afterthe deduction should be shown to the user.

1: Deposit

2: Withdraw

3: Get Balance

4: Set annual interest rate

5: Calculate interest

Perform appropriate function when users select the option. Ifoption is wrong then display the appropriate message. You shouldalso give option to the user if he/she wants to perform morefunctions.

Explanation / Answer

Balance toshow balance. NewBalance to get New balance from the user. Adjustment

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote