Question: I am using visual studios and need to write this in C++ In this assignment you will help the USS Enterprise navigate through space, by
I am using visual studios and need to write this in C++
In this assignment you will help the USS Enterprise navigate through space, by helping the captain (user) scan far-off sectors.
1) In your code, initialize a two dimensional character array with a 10x10 map of the sector in the ships general vicinity. Your map should consist of the following symbols:
E for Enterprise
K for Klingon Ship
R for Romulan Ship
* for Star
B for Starbase
. for empty space
There is only one Enterprise, which must be present. Please use at least 3 of the other symbols.
2) Ask the captain (user) to specify what region he is interested in by inputting a row, followed by a column.
3) Scan the sector and report what, if anything, is present there. Remember, the rows and columns must be ordered as in the diagram above.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
