Modify Fig. 8.12 in the textbook to deal a five-card poker hand. Then modify class Deckofcards of Fig. 8.11 to include methods that determine whether a hand contains:
- a pair
- two pair
- three of a kind (e.g., three jacks)
- four of a kind (e.g., four aces)
- a flush (i.e., all five cards of the same suit)
- a straight (i.e., five cards of consecutive face values)
- a full house (i.e., two cards of one face value, and three cards of another face value.