Write a small program that will read in 52 cards from a


Write a small program that will read in 52 cards from a file, shuffle the cards, print the unshuffled deck to the screen, and print the shuffled deck into new file.

The unshuffled deck of cards should be represented in the program by three-dimensional array ( 4 rows - 1 each suit and 13 columns - 1 for each rank). The shuffled deck should be represented by a two-dimensional array ( 52 rows - 1 card per row ).

A menu should be created so that a user can choose to shuffle the deck, print the unshuffled deck to screen, or write the shuffled deck to file. Do not shuffle the deck " in place " - there should be two separate arrays to hold the unshuffled and shuffled decks.

This is C++ program.

 

 

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a small program that will read in 52 cards from a
Reference No:- TGS01105698

Expected delivery within 24 Hours