public static void Main()
Console.WriteLine("Enter the initial animal population.");
animalsStart = int.Parse(Console.ReadLine());
Console.WriteLine("Enter the initial food supply.");
foodStart = int.Parse(Console.ReadLine());
Console.WriteLine("Enter the amount of food added at the end of each hour.");
foodAdded = int.Parse(Console.ReadLine());
Console.WriteLine("Hour | Animals At Start | Food at Start | Food at End | Animals at End");
while ( foodStart > animalsStart) {
foodEnd = (foodStart - animalsStart) + foodAdded;
animalsEnd = animalsStart * 2;
Console.WriteLine(" " + hour + " " + animalsStart + " " + foodStart + " " + foodEnd + " " + animalsEnd);
animalsStart = animalsEnd;
foodStart = foodEnd + foodAdded;
Console.WriteLine("By hour " + hour + ", the population of animals outgrows the food supply");