예제 #1
0
    internal void Execute()
    {
        Console.WriteLine("\n\n\n\n#######-------Question 3-------#######");
        GetFirstLetterWord obj1 = new GetFirstLetterWord();

        Console.WriteLine("Enter Your Name: ");
        string userName = Console.ReadLine();
        string res      = obj1.SplitWord(userName);

        Console.WriteLine($"Result: {res}");
    }
    static void Main()
    {
        Console.WriteLine("\n\n\n\n#######-------Executing Assignment 1-------#######");
        //executing ques1
        CheckSum obj1 = new CheckSum();

        obj1.Execute();

        //executing ques2
        TeamPoint obj2 = new TeamPoint();

        obj2.Execute();

        //executing ques3
        GetFirstLetterWord obj3 = new GetFirstLetterWord();

        obj3.Execute();
    }