Lab #5

Lab #5 - Banking Account with Methods

Submit Assignment Download Work file Download Runtime

  • Be sure to include comments at the top of each procedure and at the top of the file.
  • Be sure to use meaningful names for all buttons and labels.
  1. In this lab you will create a simple banking application that will accept deposits, checks, and service charges. If the user tries to withdraw more money than is available, the withdrawal will fail and a service charge of $10 will be applied. You will also keep track of the number and amount of the deposits, withdrawals, and service charges.
  2. Program should have at least 3 methods
    1. Deposit - one parameter representing the amount to deposit
    2. ServiceCharge - one parameter byref representing balance, second optional parameter for amount with default being 10
    3. Withdraw -  one parameter representing the amount to balance, one parameter representing the amount to withdraw, returns new balance amount