K
kittu
the program says
there r 21 match sticks.there r 2 players computer and user.
both pick matchsticks one by one starting with user.
they can pick 1or2or3or4 match sticks at a time.
the player who picks the last match stick losses the match.
condition is that computer has always to win.
can somebody please tell me how can this programm be formed
there r 21 match sticks.there r 2 players computer and user.
both pick matchsticks one by one starting with user.
they can pick 1or2or3or4 match sticks at a time.
the player who picks the last match stick losses the match.
condition is that computer has always to win.
can somebody please tell me how can this programm be formed