Home Forums C Programming waah!

Viewing 1 reply thread
  • Author
    Posts
    • #2215
      MercedeSlemp
      Participant

      another problem..

      “create a program having a menu of drawing 5 cards from a shuffled deck. after drawing cards..identify them as follows: high card, pair, three of a kind, full house, straight, flush, four of a kind, straight flush, and royal flush.”

      help! :?:

    • #3595
      GWILouisaxwzkla
      Participant

      Heres the basic program that creates a deck and draws a hand ( not sure what you need to do as far as identifing the type of hand ?? You need the program to tell if the hand falls in one of the catagories : ( high card, pair, three of a kind, full house, straight, flush, four of a kind, straight flush, and royal flush.” ) ?? . Anyway heres the code ( not very complicated just tedious to write ) :

Viewing 1 reply thread
  • The forum ‘C Programming’ is closed to new topics and replies.