Introduction Farmer Ted wants to keep track of the animals on his property and asks you to write the code….