Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace BankAccount
- {
- public abstract class Account
- {
- public float accountMoney;
- //Transfer from checking to Savings
- //Close Account
- public void CloseAccount()
- {
- accountMoney = 0;
- }
- //Create overdraw function and if business account make it more steep.
- public bool CheckOverdraw()
- {
- if(accountMoney >= 0)
- {
- return true;
- }
- else
- {
- return false;
- }
- }
- //
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement