c language programme for matchstick game between user and PC
let us c by yashwant Kumar
the detail of that programme is :
Matchstick Game
Two players, user and computer, take turns removing matchsticks from a pile.
In each turn, a player can remove 1 to 3 matchsticks.
The player who removes the last matchstick loses.
The goal is to force the other player to remove the last matchstick.
[the given detail in this paragraph is little bit different from from the problem given in let us see book in letter c book the condition was that every time user will lose the game and user can pick up four matchstick at a time]