public static void Main(string[] args) { Atm atm = new Atm(); atm.refill(100); atm.withdraw(50); atm.withdraw(30); atm.withdraw(30); atm.withdraw(20); atm.refill(50); atm.refill(50); atm.withdraw(50); Console.ReadKey(); }
public NoCash(Atm atm) { this.atm = atm; }
public working(Atm atm) { this.atm = atm; }