"HARD CODE a poker game program. Output the hand of five cards that have been hard coded in array so that to prove as well as to run back through and disprove all the following situations: 1. Hard code a hand that contains a pair 2. Hard code a hand that contains two pairs. 3. Hard code a hand that contains three of a kind. 4. Hard code a hand that contains four of a kind. 5. Hard code a hand that contains a flush. (i.e., all five cards of the same suit.) 6. Hard code a hand that contains a straight. (i.e., five cards of consecutive face values). After you have hard coded five cards which prove that the program code works correctly to prove that all of the above situations 1-6 ARE TRUE, then also, you must go back through and come up with hard code to DISPROVE all above situations. For example, if hard coded hand is A,A,A,A,7 then 1-4 ARE TRUE; Then pick a hand such as A,2,3,4,5 which DISPROVES 1-4. Make sense??? Make sure to use pointers to the functions. This will be ONE program which will be run AT LEAST twice (with different hard code) to go through each of the situations to prove AND disprove them. This program does NOT SHUFFLE OR DEAL cards, since it is hard coded. Also, I would like to know how much more it would be to do the following. If all of the ABOVE is done, it will be a "B". To get an "A", I must also do the following situations: 7. Determine if hard coded hand contains FULL HOUSE. (3 of a kind and two of a kind) 8. Determine if hard coded hand contains ROYAL FLUSH. (all the same suit, all must be spades and be 10, Jack, Queen, King, Ace).
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).
cpp console app