I need some help debugging this Java code please.
I thought it was working perfectly, but I just realized that is not the case. Bug: If player B wins the match, the declaration of the winner is not printed. for instance, if you input 1 as player A and 7 as Player B (Cloud vs Defaultius Maximus) Cloud will lose the fight, but it will not declare Defaultius as the winner, the code execution just stops. https://code.sololearn.com/c22FNtmaFPkQ/?ref=app