[DISCLAIMER] it is my hw for my csci class, so just little tips will be enough.
I was able to find "average lifespan".but I could not understand how to solve th