#include #include #include "Header.h" using namespace std; MyClass *customer=new MyClass[10]; bool sc(int temp,string family) { if (customer[temp].fn==family) { return 1; } else return 0; } void Deposit(int cust,int space) { int select; customer[cust].money=customer[cust].money+space; cout<<"Check 1--else 0!"; cin>>select; if (select) { cout<<"First customer:"<>select; if (select) { cout<<"First customer:"<>select; if (select) { cout<<"First customer:"<>st; switch(st) { case 1: if (end==0) { cout<<"Enter your name: "<>esm; cout<<"Enter your family name: "<>family; if (search(family) ) end=1; } int one; while (count==0) { if ( end==1) { Sign=search(family); end=1; cout<>stk; switch (stk) { case 1: cout<<"How much the money do you want to Deposit?"; cin>>one; Deposit(Sign,one); break; case 2: cout<<"How much the money do you want to Withdraw money?"; cin>>one; Withdraw_money(Sign,one); break; case 3: cout<<"What's the name and the family name who want to send some money to him?"<>en>>ff; cout<<"How much the money do you want to Transfer?"<>one; Transfer(Sign,one,en,ff,search(ff)); break; default: cout<<"error"; } } char still; cout<<"Do you want keep stay in here?---Y & N"<>still; if (still=='N') end=0; } break; case 2: cout<<"Enter your name: "<>esm; cout<<"Enter your family name: "<>family; cout<<"Enter your age: "<>sal; cout<<"Enter your ID: "<>PIN; cout<<"S/M: "<>ch; customer[count].MyClass1(esm,family,sal,PIN); count++; cout<<"Welcome to our bank costomer!!!"<