CS 201 Programming In C++ Program 2 solved

$35.00

Category: You will receive a download link of the .ZIP file upon Payment

Description

5/5 - (1 vote)

Create a folder called “PG2” in the top level of your CS201-01-13F folder. Place all files
pertaining to this assignment into that folder. Place a (possibly empty) file called “DONE” into
this folder when you are ready to have your programs graded. The only files you need to turn in
are the .cpp and the .h files.
Your program should take two 52-card decks of standard playing cards and shuffle them. Your
program should then deal the cards, one card from each deck simultaneously, and keep track of
the number of times that the cards match. (You need to print the cards out exactly, e.g. “Ace of
Spades / Three of Hearts” or “Jack of Hearts / Jack of Hearts, MATCH”.)
You should run this game 100 times and then print out the average number of times per game
that matching cards were discovered.