aboutsummaryrefslogtreecommitdiff
path: root/CPP/BABS/BankAccount.h
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/BABS/BankAccount.h')
-rw-r--r--CPP/BABS/BankAccount.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/CPP/BABS/BankAccount.h b/CPP/BABS/BankAccount.h
new file mode 100644
index 0000000..7e85b47
--- /dev/null
+++ b/CPP/BABS/BankAccount.h
@@ -0,0 +1,19 @@
+#ifndef TEST_BANKACCOUNT
+#define TEST_BANKACCOUNT
+#include <string>
+
+class BankAccount {
+ int id, balance;
+ bool closed;
+ public:
+ BankAccount();
+ BankAccount(int);
+ int getId();
+ int getBalance();
+ void deposit(int);
+ int withdraw(int);
+ std::string toString();
+ void close();
+};
+
+#endif \ No newline at end of file