(Solved) : Program Program Student Program Simulation Deck Cards Program Following 1 Ask User Enter N Q18099432
Program: In this program, the student will program a simulationof deck of cards. The program will do the following: 1. Ask theuser to enter the number of decks to shuffle 2. Shuffle a decks ofcards. No instance of a card should be repeated more times than thenumber of decks. Example: If you shuffle 4 decks, the 7 of clubsshould appear 4 times (no more no less). 3. Displays all of thecards in the shuffled decks. Displays the cards’ face values andsuit values. NOTE: Heart () – can be displayed as H, Club () –can be displayed as C, Diamond () – can be displayed as D, Spade() – can be displayed as S. Your program should contain thefollowing: 1. Symbolic constants for the number of cards per deck(52), number of face values per deck (13), and number of suits perdeck (4). 2. Array(s) for shuffled deck of cards (depending on howyou accomplish it). 3. Function to shuffle deck of cards. 4.Function to display the deck of cards. 5. All user input and outputuses cin and cout (not scanf or printf) Recommendations: If youhave one deck of cards, you have 52 cards. You can represent eachcard to have a numerical value between 0 and 51. You can userand()%(CARDS_IN_DECK*numberOfDecks) to get a random number andcheck that with previous numbers drawn. You can then use thisunique number to determine the face and suit of the card. BONUS(+5): Instead of H, C, D, and S, displays,,, and instead.
Attached . . .