Question: This is a problem of c programming language. Please explain to me how to complete this part(task4thank you very much indeed Task 4. Handling the
This is a problem of c programming language.
Please explain to me how to complete this part(task4thank you very much indeed


Task 4. Handling the Game Over When the number of stones reaches zero, the game is over. You need to show who is the loser of the game. Similar to task 3, it is a simple task. You can simply check who has taken the last stone and then show the information in some simple text, as shown in the following two examples: The computer has taken away 1 stone(s). There are currently stones left. The computer loses the game! You have taken away 1 stone(s). There are currently stones left. You lose the game! On the left, the computer has taken the last stone and thus the computer loses the game. And 'you' have taken the last stone on the right and therefore 'you' lose the game. Task 4. Handling the Game Over When the number of stones reaches zero, the game is over. You need to show who is the loser of the game. Similar to task 3, it is a simple task. You can simply check who has taken the last stone and then show the information in some simple text, as shown in the following two examples: The computer has taken away 1 stone(s). There are currently stones left. The computer loses the game! You have taken away 1 stone(s). There are currently stones left. You lose the game! On the left, the computer has taken the last stone and thus the computer loses the game. And 'you' have taken the last stone on the right and therefore 'you' lose the game
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
