If the competition hadn't started yet, it would divide by zero. Since the calculation involves a float (100.0), the result would be the Infinity constant, not an exception. Either way, it's undesirable, so I added checks that will set the percent to zero.