Poker outcome program challenge!
Posted: Wed Nov 30, 2005 2:48 pm
Generate five poker hands from a standard deck (52 cards) of cards based on the following rules:
Each hand consists of 5 cards.
Hands should be displayed like this when you are finsihed:
Hand 1 - J (hearts symbol), 3 (diamonds symbol), 10(spades symbol), A (Diamonds), 2(Clubs symbol)
Hand 2 - etc
Hand 3 - etc
Hand 4 - etc
Hand 5 - etc
You can find the codes for the cards here:
ASCII:
Hearts = 003
Diamonds = 004
Clubs = 005
Spades = 006
Good Luck!
Each hand consists of 5 cards.
Hands should be displayed like this when you are finsihed:
Hand 1 - J (hearts symbol), 3 (diamonds symbol), 10(spades symbol), A (Diamonds), 2(Clubs symbol)
Hand 2 - etc
Hand 3 - etc
Hand 4 - etc
Hand 5 - etc
You can find the codes for the cards here:
ASCII:
Hearts = 003
Diamonds = 004
Clubs = 005
Spades = 006
Good Luck!