aboutsummaryrefslogtreecommitdiff
path: root/CPP/BABS/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/BABS/main.cpp')
-rw-r--r--CPP/BABS/main.cpp35
1 files changed, 0 insertions, 35 deletions
diff --git a/CPP/BABS/main.cpp b/CPP/BABS/main.cpp
deleted file mode 100644
index 717e0dd..0000000
--- a/CPP/BABS/main.cpp
+++ /dev/null
@@ -1,35 +0,0 @@
-#include <iostream>
-
-#include "BankSystem.h"
-
-#define MODE_SPACER "------------------------------------------------------------"
-
-using namespace std;
-
-int main()
-{
- cout << "Welcome to BA banking system!" << endl << endl;
- while(true) {
- cout << "Mode: Atm/Banker/Exit ";
- char inValue;
- cin >> inValue;
-
- if (inValue == 'e' || inValue == 'E' || inValue == '0') {
- return 0;
- }
-
- if (inValue == 'b' || inValue == 'B') {
- cout << MODE_SPACER << endl;
- bankerMode();
- cout << MODE_SPACER << endl;
- }
- else {
- cout << MODE_SPACER << endl;
- atmMode();
- cout << MODE_SPACER << endl;
- }
- }
- cout << "Goodbye!" << endl << endl;
-
- return 0;
-} \ No newline at end of file