Welcome to the Game of 21 Do you want to play a game(Y/N)? y What is your wager? 1.00 Computer HOLE CARD | FIVE of DIAMONDS Human ACE of SPADES | FOUR of CLUBS Computer takes a card HOLE CARD | FIVE of DIAMONDS | TEN of HEARTS Do you want a card(Y/N)? y Human takes a card ACE of SPADES | FOUR of CLUBS | FIVE of SPADES Computer holds HOLE CARD | FIVE of DIAMONDS | TEN of HEARTS Do you want a card(Y/N)? n Human holds ACE of SPADES | FOUR of CLUBS | FIVE of SPADES Computer score SEVEN of CLUBS | FIVE of DIAMONDS | TEN of HEARTS 22 bust Human score ACE of SPADES | FOUR of CLUBS | FIVE of SPADES 20 Human wins 1.50 Do you want to play a game(Y/N)? y What is your wager? 25.00 Your wager exceeds your funds. Enter an amount less than or equal to $21.50. abc You entered abc. This is not a valid number. -25.00 You entered -25.00. This is not a valid number. 10.00 Computer HOLE CARD | FOUR of Clubs Human SEVEN of DIAMONDS | QUEEN of SPADES Computer takes a card HOLE CARD | FOUR of CLUBS | QUEEN of CLUBS Do you want a card(Y/N)? Yes Your entry Yes is not a correct response. Do you want a card(Y/N)? n Human holds SEVEN of DIAMONDS | QUEEN of SPADES Computer Holds HOLE CARD | FOUR of CLUBS | QUEEN of CLUBS Computer score THREE of SPADES | FOUR of CLUBS | QUEEN of CLUBS 17 Tie Human score SEVEN of DIAMONDS | QUEEN of SPADES 17 Tie Do you want to play a game(Y/N)? n Exiting - good bye