Create pseudocode for the following #include #include #include #include using namespace std; char water[10][10] =...


Create pseudocode for the following










#include







#include







#include







#include














using namespace std;














char water[10][10] = {{'~','~','~','~','~','~','~','~','~','~'},{'~','~','~','~','~','~','~','~','~','~'},{'~','~','~','~','~','~','~','~','~','~'},{'~','~','~','~','~','~','~','~','~','~'},{'~','~','~','~','~','~','~','~','~','~'},{'~','~','~','~','~','~','~','~','~','~'},{'~','~','~','~','~','~','~','~','~','~'},{'~','~','~','~','~','~','~','~','~','~'},{'~','~','~','~','~','~','~','~','~','~'},{'~','~','~','~','~','~','~','~','~','~'}};














void createBoard(int &numShip);














void promptCoords(int& userX, int &userY);














void shipGen(int shipX[] ,int shipY[], int &numShip);














void testCoords(int &userX, int &userY, int shipX[], int shipY[], int &numShip, int& victory);








void updateBoard();



Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here