Question: Please use C++ to solve this problem Playing cards are describe by a suit and a value. In a standard deck, there are four suits:
Please use C++ to solve this problem
Playing cards are describe by a suit and a value. In a standard deck, there are four suits: Diamonds, Hearts, Clubs, and Spades. For each suit, there are thirteen values: Ace, 2,3,4,5,6,7,8,9,10, Jack, Queen, King. There are a total of 4 13 = 52 cards deck. In this problem, we will use the following shorthand

SON . Problem 2: Playing cards are describe by a 'suit' and a 'value'. In a standard deck, there are four suits: Diamonds, Hearts, Clubs, and Spades. For each suit, there are thirteen values: Ace, 2,3,4,5,6,7,8,9,10, Jack, Queen, King. There are a total of 4 x 13 = 52 cards deck. In this problem, we will use the following shorthand A Ace 2 2 3 3 4 4 5 6 6 7 7 8 8 9 9 10 10 J Jack Q Queen K King D Diamonds H Hearts $ Spades Clubs Your program should ask the user for a card in short hand such as QS and output the full name such as Queen of Spades. Example output is shown below. If the user enters 5D, the output of your code should match exactly. Enter the card notation: 5D Your card is the 5 of Diamonds Note: Ace, Queen, King, Jack, Hearts, Spades, Clubs, and Diamonds all begin with capital letters
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
