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