public static void Main() { string name = UIF.PromptLine ("What is the animal's name?"); Animal cat = new Animal (name); cat.Greet (); string food1 = UIF.PromptLine ("What do you want "+cat.GetName()+" to eat?"); cat.Eat (food1); string food2 = UIF.PromptLine ("What do you want "+cat.GetName()+" to eat?"); cat.Eat (food2); string food3 = UIF.PromptLine ("What do you want "+cat.GetName()+" to eat?"); cat.Eat (food3); Console.WriteLine (cat.GetName () + " now has: " + cat.Contents () + " in its stomache."); Console.WriteLine (cat.GetName () + " will new excrete."); cat.Excrete(); Console.WriteLine (cat.GetName () + " now has: " + cat.Contents () + " in its stomache."); Console.WriteLine (cat.GetName () + " will new excrete."); cat.Excrete(); Console.WriteLine (cat.GetName () + " now has: " + cat.Contents () + " in its stomache."); Console.WriteLine(cat.ToString()); }