A Whac-A-Mole game consists of a cabinet with five holes in its top and a large mallet. Each hole contains a single plastic mole and the machinery necessary to move it up and down. Once the game starts the moles will begin to pop up from their holes at random. The object of the game is …