c++ program for 21 matchsticks game such that computer always wins -There are 21 matchsticks. -The computer asks the player to pick 1, 2, 3 or 4 matchsticks. -After the person picks, the computer does its picking. -Whoever is forced to pick up the last matchstick loses the game. Solution #include<iostream> using namespace std; int main (int argc, const char * argv[]) { int matchstick = 21; int user,computer; while (matchstick>=1) { if (matchstick==1) { cout << \"\ Match stick status:\" << matchstick; cout << \"\ You loose \" break; } cout << \"\ Match stick status:\" << matchstick; cout << \"\ Enter the choice (1,2,3,4)):\" cin >> user; cout << \"\ You picked \"Â Â << user; if (user>=5 || user <=0) { cout << \"\ Invalid value\" ; continue; } computer = 5 - user; cout << \"\ Computer picked \" << computer; matchstick = matchstick - computer - user; } } .