Ask the user how many cards to deal per hand and how many


Write a program that simulates shuffling and dealing a standard deck of 52 cards

Task 1: Shuffle the 52 cards: 13 each, Ace through King, of 4 suits (hearts, spades, clubs, and diamonds)

Task 2: Ask the user how many cards to deal per hand, and how many players Chands to deal. Example output How many cards per hand?

5 How many s?

4 player Player 1: Four of Hearts Ace of Hearts King of Diamonds Six of Hearts Seven of Clubs Player 2: Three of Hearts Ace of Diamonds Nine of Hearts Nine of Clubs Deuce of Spades Player 3: Deuce of Clubs Three of Diamonds Ten of Hearts Eight of Hearts Deuce of Hearts Player 4: Three of Spades Five of Clubs Jack of Clubs Four of Clubs Ten of Diamonds

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Ask the user how many cards to deal per hand and how many
Reference No:- TGS02869384

Expected delivery within 24 Hours