static void Main(string[] args) { Console.WriteLine("Welcome to Deziree's Animal Kingdom!"); Tiger tiger = new Tiger(); Console.WriteLine(">>>>TIGER<<<<"); Console.WriteLine(tiger.Eat()); Console.WriteLine($"I say: '{tiger.Sound()}'"); Console.WriteLine($"I have {tiger.Legs} legs."); Bear bear = new Bear(); Console.WriteLine(">>>>BEAR<<<<<"); Console.WriteLine(bear.Eat()); Console.WriteLine($"I say: '{bear.Sound()}'"); Console.WriteLine($"I have {bear.Legs} legs."); Orangutan orangutan = new Orangutan(); Console.WriteLine(">>>>ORANGUTAN<<<<"); Console.WriteLine(orangutan.Eat()); Console.WriteLine($"I say: '{orangutan.Sound()}'"); Owl owl = new Owl(); Console.WriteLine(">>>>OWL<<<<"); Console.WriteLine(owl.Eat()); Console.WriteLine($"I say: '{owl.Sound()}'"); Console.WriteLine($"I have {owl.Legs} legs."); GoldFish goldfish = new GoldFish(); Console.WriteLine(">>>>GOLD FISH<<<<"); Console.WriteLine(goldfish.Eat()); Console.WriteLine($"I say: '{goldfish.Sound()}'"); }
static void Main(string[] args) { Guppy guppy = new Guppy(); Console.WriteLine("============GUPPY============"); Console.WriteLine(guppy.EatsFood()); Console.WriteLine($"Guppies are HUGE fish {guppy.PetFish}"); Console.WriteLine($"Guppies are cold blooded Animals {guppy.ColdBlooded}"); Owl owl = new Owl(); Console.WriteLine("============OWL============"); Console.WriteLine($"Owls have feathers {owl.Feathers}"); Console.WriteLine($"Owls can fly {owl.CanFly()}"); Console.WriteLine($"Owls have wings {owl.Wings}"); Sockeye sockeye = new Sockeye(); Console.WriteLine("============SOCKEYE============"); Console.WriteLine(sockeye.EatsFood()); Console.WriteLine($"Sockeyes lay eggs {sockeye.LaysEggs()}"); Console.WriteLine($"Sockeye are { sockeye.Scaley} "); Chinook chinook = new Chinook(); Console.WriteLine("============CHINOOK============"); Console.WriteLine(chinook.EatsFood()); Console.WriteLine($"Chinook fish can ingest food {chinook.Heterotrophy}"); Console.WriteLine($"Chinook fish have a tail { chinook.HasTail }"); AfricanPenguin africanpenguin = new AfricanPenguin(); Console.WriteLine("============AFRICAN PENGUIN============"); Console.WriteLine($"African Penguin has feathers {africanpenguin.Feathers}"); Console.WriteLine($"African Penguins can't fly {africanpenguin.CanFly()}"); Console.WriteLine($"African Penguin have Wings { africanpenguin.Wings}"); }
static void Main(string[] args) { Fish newFish = new Fish("Nemo", false, 4); Crow newCrow = new Crow("Poe", 14, "black"); Owl newOwl = new Owl("Hedwig", 24); Leopard newLeopard = new Leopard("Treecat", 11, true); Lion newLion = new Lion("Alex", 16); Hound newHound = new Hound("Sam", 10); Labrador newLab = new Labrador("Bo", 12); Console.WriteLine(newFish.Swim()); Console.WriteLine(newCrow.Fly()); Console.WriteLine(newOwl.Sleep()); Console.WriteLine(newLeopard.PetHuman()); Console.WriteLine(newLion.Purr()); Console.WriteLine(newHound.Poop()); Console.WriteLine(newLab.Bark()); }