Implementing Bank Management System (BMS) Using OOP

Image result for oop logo#include <iostream.h>
using namespace std;
// Account Class Declaration and Definition
class account{
private:
int accountNo;
float balance;
string bankName;
int b_code;
public:
account(){ // Default Constructor
accountNo=00;
balance=0.0;
bankName="Default";
b_code=00;
} // End of Default Constructor

account(int ac_num, float bal, string b_name, int code){ // Parametarized Constructor
accountNo=ac_num;
balance=bal;
bankName=b_name;
b_code= code;
} // End Parametarized Constructor

void withdraw(float draw_money){ // WithDrawl Func
if (balance<draw_money){
cout "\n\a \"Insufficient balance.......\"";
}
else{
balance-=draw_money;
}
} // End of WithDrawl Func

void deposit(float add_money){ // Deposit Func
balance+=add_money;
}
// And other some self explanatory Function of Account Class
float getBalance(){
return balance;
}
int getAccountNo(){
return accountNo;
}
string getBankName(){
return bankName;
}
int getBrachCode(){
return b_code;
}
}; // End of Account Class
class customer{
private:
string name;
string address;
public:
account ac; // public because it is represented as public in class diagram
customer(string n, string a, account acc){ // Parametarized Constructor
name= n;
address=a;
ac=acc;
} // End of Parametarized Constructor

void display(){
cout "\n Customer Name: "name;
cout "\n Customer Address: "address;
cout "\n Bank Name: "ac.getBankName();
cout "\n Branch Code: "ac.getBrachCode();
cout "\n Current Balance: "ac.getBalance();
cout "\n Account No. "ac.getAccountNo();
}
}; // End of Customer Class

main(){
cout "..........Displaying Customer Account Information........."endlendl;
account myaccount(7812, 40000, "Askari Bank", 123); // Creating an account Obj
customer DD("Double Diamond", "Programming Island", myaccount); // Creating an customer Obj
DD.display();

float dep, draw;
cout "\n\n Please Enter a value for Deposit: ";
cin >> dep;
DD.ac.deposit(dep);
cout "\n\n Current Balance after Depositing...";
DD.display();

cout "\n\n Please Enter a value for Withdrawl: ";
cin >> draw;
DD.ac.withdraw(draw);
cout "\n\n Current Balance after withdrawing...";
DD.display();
cout endlendl;
system("pause");
}
/*
This is an Example Solution Don't copy Paste it......
Any Problem can be solved with Different Logic and styles
So Try to Make your OWN....
Regards
------ DD ------- Double Diamond
*/