Beispiel #1
0
        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;
            }
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            Landing firstLanding = new Landing();

            firstLanding.landingPage();
        }