01.07.2017, 14:57
while(TeamACount> = 0) means execute the part of code inside its block till teamAcount is greater than or equal to zero.This process will only get stops when TeamACount is less than zero.And you have no statement mentioning its update. Fix the logic there.
Edit: This forum needs something to mention about newer posts while typing , seriously -_-
Edit: This forum needs something to mention about newer posts while typing , seriously -_-