static void Main(string[] args) { var screen = new ConsoleScreen(); var keypad = new ConsoleKeyPad(); var atm = new Atm(screen, keypad); if (atm.Start()) { screen.WriteLine("Logged in"); atm.Menu(); } }
static void Main(string[] args) { var screen = new ConsoleScreen(); var keypad = new ConsoleKeyPad(); var atm = new Atm(screen, keypad); if (atm.Start()) { screen.WriteLine("Logged in"); atm.Menu(); } }