I would appreciate help with this program. It needs to be written in C++. Modify
ID: 3534434 • Letter: I
Question
I would appreciate help with this program. It needs to be written in C++.
Modify the program written below so that it deals a five-card poker hand. Then write functions to accomplish each of the following:
a) Determine whether the hand contains a pair.
b) Determine whether the hand contains two pairs.
c) Determine whether the hand contains three of a kind (e.g., three jacks).
d) Determine whether the hand contains four of a kind (e.g., four aces).
e) Determine whether the hand contains a flush (i.e., all five cards of the same suit).
f) Determine whether the hand contains a straight (i.e., five cards of consecutive face
values).
main:
Member functions:
header file:
Explanation / Answer
Here is the complete running code for 5 card poker at mt terminal. You can download it from here
http://pastie.org/private/2nyjjvmzxvmdvsfcgg8ieq
Feel free to contact me. If you have any query ?