Question: Write a piece of code that reads a shorthand text description of a playing card and prints the longhand equivalent. The shorthand description is the
Write a piece of code that reads a shorthand text description of a playing card and prints the longhand equivalent. The shorthand description is the card’s rank ( 2 through 10, J, Q, K, or A ) followed by its suit ( C, D, H, or S ). You should expand the shorthand into the form “ of ”. You may assume that the user types valid input. Here are two sample executions:

Enter a card: 9 s Nine of Spades Enter a card: K C King of Clubs
Step by Step Solution
3.46 Rating (182 Votes )
There are 3 Steps involved in it
Code to read playing card information Scanner console new Scanner Systemin ... View full answer
Get step-by-step solutions from verified subject matter experts
