You’re returning totalMonsterHealth
in
if(battleChoice =='A' || battleChoice == 'a')
So when the user hits A
or a
it will exit the loop
2
solved do while loop not looping properly
You’re returning totalMonsterHealth
in
if(battleChoice =='A' || battleChoice == 'a')
So when the user hits A
or a
it will exit the loop
2
solved do while loop not looping properly