Write a C program that will do the following: a. Print out your name and the filename. b. You will be gathering data on common poker hands, so you will be dealing 5 cards to create 10 hands in each deck and dealing 100 decks of cards to accumulate your data. You will initialize your random number generator with a seed generated from your birthday, mine is 6250 for 6-2-50. Print out the seed number used. c. Use rand to generate a deck of cards by getting a random integer and saving it in deck[0][0] through deck[51][0]. At the same time you will be saving an integer value in deck[0][1] through deck [51][1] using the counter value%13 (where the counter starts at 0 and stops after 51). This ensures that you have 52 cards with 4 zeroes, 4 ones, 4 twos ?. 4 twelves contained in the second column of your deck matrix. d. Use and/or modify the sort.c function attached, to reorder (or shuffle) each deck before dealing out the 10 hands. (Arranging the random integers in ascending order will effectively shuffle the card numbers in the other column). Pass the matrix to your sort function and reorder the rows based upon the integers in the first column. e. Count the number of hands that have the following characteristic and print out how many of the possible 1000 hands you dealt had the characteristic assigned to you. Use the month of your birthday to determine which hand is the one you count. December - a hand with no face cards (face cards being cards numbered 0, 9, 10, 11 and 12)
## Deliverables
1) Complete and fully-functional working program(s)(ONLY IN C, not C++) in executable form as well as complete source code of all work done. Readable and writable so that comments can be added...
## Platform
UNIX, visual C++, any .c program. running on school ethernet to Dell Optiplex computers with Pentium III processors...Windows NT.