Question: Write a single Go program that does the following: The program accepts the following positional command line arguments The display mode where v indicates that
Write a single Go program that does the following:
The program accepts the following positional command line arguments
The display mode where "v" indicates that the cards should be displayed vertically one after the other. An "h" indicates that the cards should be displayed horizontally.
All the following arguments are either the card to display (A for Ace, 2-10 for numbered cards, J for Jack, Q for Queen, and K for King. If an "r" is provided then a random card should be displayed (drawn uniformly at random).
When displaying a card use at least 6 lines to display the card. Do not simply display the name of the card. You need to draw the card in an artistic way. See the minimal example output below.

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
