Write a piece of code that reads a shorthand text description of a playing card and prints
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 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:
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Building Java Programs A Back To Basics Approach
ISBN: 9780135471944
5th Edition
Authors: Stuart Reges, Marty Stepp
Question Posted: