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(); }
static void Main(string[] args) { MoodAnalyzerClass moodAnalyzer = new MoodAnalyzerClass("I am in a sad mood"); Console.WriteLine("Mood is: {0}", moodAnalyzer.AnalyzeMood()); }