Program 2 Card Shuffling solution


Original Work ?
Category: You will Instantly receive a download link for .ZIP solution file upon Payment


5/5 - (2 votes)

Write a program in C++ that shuffles a deck of cards using a linked list to do this. You are not to use arrays or loops of any kind. It must be a “perfect shuffle,” meaning that if the random number generator is perfectly fair, then each possible ordering of the cards (and there are 52! of them) is equally likely to occur.
I will provide the main and all of the .h files. You are to write the .cpp files for each .h file I provide, except main.
I will describe in class how to accomplish this with linked lists.
Create a folder called PG2 in your CS222-01-14W folder. Place your .cpp files (and only these files) into your PG2 folder. Place a (possibly empty) file or folder called “DONE” in PG2 when you are ready for your program to be graded.