okay so I am redoing this project as I need to use a header file with a main and source cpp.
I have not much so far and am a horrible coder. I would like step by step help if anyone is willing to skype or even help through here.
so far I have
header
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#include <iostream>
using namespace std;
class bankAtm
{
public:
void checkAccount();
void savAccount();
void bankTrans();
void bankWithdrawal();
void balAccount();
void getBal();
void setBal();
private:
double bankBal;
};
void showBankMenu(bankAtm &);
void manageAtm(bankAtm &, bankAtm &);
| |
source
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#include "ATM.h"
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
bankAtm checkAccount();
bankAtm savAccount();
do
{
system("CLS");
cin.clear();
}
while ()
{
}
}
| |
main
1 2 3 4 5 6 7
|
#include <iostream>
#include <iomanip>
using namespace std;
#include "ATM.h"
| |
project question:
handle at least 2 accounts
transfer funds between them
withdraw from either account
balance inquire on either account
deposit to either account
must be menu driven
each account must start with $1000
The teacher will check the program for errors like using a letter and breaking the code and what not. Please help me in anyway possible I am not interested in learning code in c++ or should not need it for my cyber security degree as I am focusing on pen testing!
I would like this to display on screen
select account:
1 checking
2 savings
checking (or savings) selected, Choose option:
1 withdrawal
2 deposit
3 transfer
4 exit
How much would you like to withdraw?
user input
remaining balance output
deposit
how much
new balance
transfer
how much
balance of both accounts