I need to write a program in C++ that follows these steps andtemplate EXACTLY – sorry it is so long, but please read ALL of theinstructions, follow the guidlines provided, use the exacttemplate/variable names and include good commenting.
Here are the instructions:
Write a program for playing a variation of the Subtraction gamecalled the game of NIM.
Our version of the game starts with up to 15 rods and up to 10objects in each rod. Two
players take turns removing objects from the rods. On a player’sturn, she chooses a rod
and removes one or more objects from that rod. She can removeall objects from
PayPal Gateway not configured
PayPal Gateway not configured