예제 #1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Able to check moods wheather Happy or Sad");
            MoodAnalyzerClass analysis = new MoodAnalyzerClass();

            Console.WriteLine(analysis.Mood(" i am sad"));
            Console.ReadLine();
        }
예제 #2
0
        static void Main(string[] args)
        {
            MoodAnalyzerClass moodAnalyzer = new MoodAnalyzerClass("I am in a sad mood");

            Console.WriteLine("Mood is: {0}", moodAnalyzer.AnalyzeMood());
        }