I have to write a program that requests five cards as input from the user, creates the related array, and passes the array to procedures to determine the type of the hand: (flush, straight, straight flush, four of a kind, full house, three of a kind, two pairs, one pair, or none of the above.)
I have the poker hand data stored in a two dimensional array by using the statement "dim hand(3,12) as integer" which gives me an array with 52 elements.
How do I take the inputted data and enter it into the hand() array? Then how do I determine what kind of hand the user has inputted?
Can anyone help??
2007-04-08
10:51:48
·
3 answers
·
asked by
Garland R
2