Question: In this program you will use the 2 d - array provided to display and search for the treasure or ' X ' on the
In this program you will use the darray provided to display and search for the treasure or X on the map. Create a namespace including the functions DisplayMap and FindX. The functions will be used for the following:
DisplayMap Display the map as a x square.
FindX Search the map for the location of the X and display the column and row where it is located
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
