Have tried that but it, needs to be initialized so do it by using "int cumScore = 0;" now when I call initGame() for the user to play again I think it sets the cumScore to 0 again.
Type: Posts; User: ashboi
Have tried that but it, needs to be initialized so do it by using "int cumScore = 0;" now when I call initGame() for the user to play again I think it sets the cumScore to 0 again.
I am programming a Hangman Console game. Have done most of it by stuck whereby I need to save cumulative score. Assignment reads:
If word is complete then
add the score (5 mins the number of...