So my friend was working on a programming project that’s supposed to simulate a simple ecosystem with plants, rocks, and fish swimming around in a pond. The plants grow and the fish eat the plants and fight/eat other fish to survive and multiply. He wrote the program without too many problems. Then came time to test it out.
When he ran the program he found that the pond would, for some reason, come up empty. He ran it over and over and checked all his code to try and figure out what was wrong. He even got his comp engineering roommate to help out. I think it took them more than a day to figure out what was wrong: