Card String

Write a program CardString.java that takes user input describing a playing card in the following shorthand notation:

Notation        Meaning
---------------------------
A               Ace
2 ... 10        Card values
J               Jack
Q               Queen
K               King
D               Diamonds
H               Hearts
S               Spades
C               Clubs

Then print out the full name of the card.

Sample interaction:

Enter the card notation: 4S
Four of Spades

Sample interaction:

Enter the card notation: JH
Jack of Hearts

Variation

Write a method .getCardString(String cardNotation) that takes the cardNotation as a parameter, then composes and returns the corresponding String. Call this method from the main() program.