Assignment 12

due at midnight on   +40

A poker program that allows the user to discard and draw new cards from deck, as below.

Welcome to POKER:
  a) 10 of spades
  b) 8 of clubs
  c) 3 of clubs
  d) 3 of hearts
  e) 6 of clubs

You have a pair of 3s.
Discard? ab

Now you have:
  a) Ace of diamonds
  b) Ace of hearts
  c) 3 of clubs
  d) 3 of hearts
  e) 6 of clubs

You have two pair: aces and 3s.