Goals: Developing problem-solving skills,declaring variables, using loops, and u
ID: 3614945 • Letter: G
Question
Goals: Developing problem-solving skills,declaring variables, using loops, and using 2-D arrays andfunctions.
Problem: Complete Programming Project 16from Chapter 7, on page 442 of your textbook. (shown below)
Your program should employ the following:
¨ as indicated in the problemdescription: 2 two-dimensional arrays, one for thearrangement, and one for the indicating if cards are face-up orface-down
¨ a function that shuffles cardsin order to create the initial setup for the memory game; thisshould use random number generation of some sort
¨ a function that displays thecurrent status of the game, as shown in the book
¨ cin statements to takecoordinates from the player
¨ any other 2-D arrays orfunctions that you find appropriate to use to solve theproblem.
-----------------------------------------------------------------------------
Theproject from textbook: