protected virtual void interpretInput(String input) { switch (input) { case "kmap": currentObject = new KmapInterface(); break; case "quine": currentObject = new QuineInterface(); break; case "expression": currentObject = new ExpressionInterface(); break; case "table": currentObject = new TruthTableInterface(); break; case "exit": break; default: Console.WriteLine("Invalid command, please enter a new command, type 'help' for options"); break; } }
static void Main(string[] args) { Landing firstLanding = new Landing(); firstLanding.landingPage(); }