raju6835 0 Newbie Poster

I want to solve a puzzel game
here we have 24 match stick there are two player user and computer,
there is first turn to comp.
there is one condition any player can pick minimum one to maximum 4 stick at a time .
at last whose got only one stick he is loss. user should be loss , so how write programe in c language for that and what is the logic behind that plz tell.