People have spent so much time playing card games of solitaire that the gambling casinos are now capitalizing on this human weakness. A form of solitaire is described below. Your assignment is to write a computer program to play the game, thus freeing hours of time for people to return to more useful endeavors.
[Full Problem]http://moodle.ncku.edu.tw/pluginfile.php/803686/mod_resource/content/4/DataStructure_HW3.pdf
Just need to compile the program with C++ compiler and run the executable.