static void Main(string[] args) { Account alif = new Savings("Alif", "001", 5000.0f); Account utsho = new Current("Utsho", "002", 2000f); Account rakib = new Fixed("Rakib", "003", 1000f, 2015, 10); Account ss = new SuperSavings("Shahriar", "004", 100f); ss.Withdraw(80); ss.ShowInfo(); Account overdraft = new Overdraft("Arif", "005", 1000f, 5000); overdraft.Transfer(ss, 5000); overdraft.ShowInfo(); Customer customer = new Customer("Alif Uthso"); //alif.ShowInfo(); //alif.Deposit(2000f); //alif.ShowInfo(); //alif.Withdraw(3000); //alif.ShowInfo(); //rakib.Deposit(5000); //rakib.Withdraw(1000); //rakib.ShowInfo(); //alif.Transfer(utsho, 1000f); //utsho.ShowInfo(); //customer.AddAccount(alif, utsho); //customer.AccDetails(); }
static void Main(string[] args) { Account a1 = new Savings("sadik", "111", 65000.0f); Account a2 = new Current("radik", "112", 22000f); Account a3 = new Fixed("sohid", "123", 93000f, 2019, 14); a1.Deposit(10000); a1.Transfer(a2, 5000); a1.showAllTransaction(); a2.ShowInfo(); a2.Deposit(2000f); a2.Transfer(a2, 4000); a2.Withdraw(3000); a2.showAllTransaction(); Customer customer = new Customer("Messi"); Account ss = new SuperSavings("shiblu", "200", 123f); ss.Deposit(80); ss.ShowInfo(); Account overdraft = new Overdraft("Alom", "007", 15000f, 7000); overdraft.Transfer(ss, 3000); overdraft.Deposit(12000); overdraft.ShowInfo(); overdraft.showAllTransaction(); }
static void Main(string[] args) { Account Jothi = new Savings("Jothi", "001", 5000.0f); Account Nishat = new Current("Nishat", "002", 2000f); Account Moumita = new Fixed("Moumita", "003", 1000f, 2015, 10); Account ss = new SuperSavings("Iffat", "004", 100f); ss.Deposit(80); ss.ShowInfo(); Account overdraft = new Overdraft("Jahan", "005", 1000f, 5000); overdraft.Transfer(ss, 5000); overdraft.Deposit(10000); overdraft.ShowInfo(); overdraft.showAllTransaction(); Customer customer = new Customer("Iffat Jahan"); Nishat.Deposit(10000); Nishat.Transfer(Jothi, 5000); Nishat.showAllTransaction(); Jothi.ShowInfo(); Jothi.Deposit(2000f); Jothi.Transfer(Nishat, 4000); Jothi.Withdraw(3000); Jothi.showAllTransaction(); }
static void Main(string[] args) { Account saif = new Savings("Saif", "001", 5000.0f); Account raihan = new Current("Raihan", "002", 2000f); Account sakib = new Fixed("Sakib", "003", 1000f, 2015, 10); Account ss = new SuperSavings("Helal", "004", 100f); ss.Deposit(80); ss.ShowInfo(); Account overdraft = new Overdraft("Kashem", "005", 1000f, 5000); overdraft.Transfer(ss, 5000); overdraft.Deposit(10000); overdraft.ShowInfo(); overdraft.showAllTransaction(); Customer customer = new Customer("Saif Raihan"); raihan.Deposit(10000); raihan.Transfer(saif, 5000); raihan.showAllTransaction(); saif.ShowInfo(); saif.Deposit(2000f); saif.Transfer(raihan, 4000); saif.Withdraw(3000); saif.showAllTransaction(); //rakib.Deposit(5000); //rakib.Withdraw(1000); //rakib.ShowInfo(); //alif.Transfer(utsho, 1000f); //utsho.ShowInfo(); //customer.AddAccount(alif, utsho); //customer.AccDetails(); }