Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Problem Description: Write a program to simulate a deck of 52 playing cards. Rep

ID: 3554602 • Letter: P

Question

Problem Description:

Write a program to simulate a deck of 52 playing cards. Represent your deck as a 2D Array where the value in the cell is the position of the card in the deck.

Represent the names for the suits and faces as an array of Strings.

Write an algorithm to shuffle the deck.

Display the deck. For Example:

1 Jack of Spades

2 Deuce of Diamonds

3 Three of Diamonds

4 King of Spades

5 Eight of Clubs

6 King of Diamonds

7 Six of Clubs

8 Six of Spades

9 Eight of Hearts

Deal 2, 3 or 4 hands of five cards from the shuffled deck.

COPY AND PASTE CONSOLE OUTPUT HERE

Explanation / Answer

( Done EXACTLY following the mentioned Specifications. Please rate soon :) )

Successfully running Code with Sample Input/Output : http://ideone.com/JOSNZx

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote