SQL

Tuesday, 15 September 2015

Black Jack Card Deck using ArrayList



Output:

Welcome to Black Jack

Welcome to Black Jack

SPADE-KING
SPADE-SIX
CLUB-QUEEN
SPADE-QUEEN
CLUB-FOUR
HEART-FIVE
DIAMOND-FOUR
DIAMOND-QUEEN
CLUB-TWO
DIAMOND-NINE
CLUB-SIX
CLUB-EIGHT
CLUB-THREE
SPADE-TWO
SPADE-FOUR
DIAMOND-KING
CLUB-FIVE
HEART-EIGHT
SPADE-FIVE
CLUB-KING
CLUB-ACE
SPADE-NINE
SPADE-ACE
HEART-KING
HEART-ACE
CLUB-NINE
HEART-JACK
HEART-SIX
DIAMOND-EIGHT
HEART-THREE
CLUB-JACK
DIAMOND-TEN
DIAMOND-JACK
HEART-TEN
SPADE-THREE
DIAMOND-FIVE
DIAMOND-ACE
SPADE-TEN
SPADE-JACK
DIAMOND-SEVEN
CLUB-SEVEN
HEART-QUEEN
DIAMOND-SIX
HEART-FOUR
SPADE-EIGHT
DIAMOND-TWO
SPADE-SEVEN
HEART-SEVEN
HEART-NINE
HEART-TWO
CLUB-TEN
DIAMOND-THREE

Post a Comment