Introduction to Programming Using Visual Basic
Visual Basic Programming Challenge 11-1 Part 1: Bank Account (VB.net Object Oriented Programming)
In this video I demonstrate the app we are going to be created, which is a simulation of checking and savings account. The app will allow for deposits, withdrawals, transfers and checks.
Write a program to maintain a person’s savings and checking accounts. The program should keep track of and display the balances in both accounts, and maintain a list of transactions (deposits, withdrawals, fund transfers, and check clearings) separately for each account. The two lists of transactions are stored in text files.
The program should use two classes: Transaction and Account.
The class Transaction should have properties for transaction name, amount, date, and whether it is a credit (deposit) or a debit (withdrawal / check).
The class Account, which will have both a checking account and a savings account as instances, should use an array if Transaction objects. In addition, it should have properties for name (Checking or Savings) and balance. It should have methods to carry out a transaction (if possible) and to load the set of transactions from a text file. The events InsufficientFunds and TransactionCommitted should be raised at appropriate times.
Learning to code? Follow my VB tutorials for beginners. I do a lot of Visual Basic programming challenges and VB.net projects as part of my homework – every day!
If you are learning to program, nothing beats solving real programming exercises and coding challenges.
So don’t forget to subscribe, as I release new programming videos often!
DOWNLOAD SOURCE FILES: http://www.codinghomework.com/?p=817