Question: C programming I am creating a game of battleship using a 2D array, where there are 10 rows and 10 columns. I need to be

C programming

I am creating a game of battleship using a 2D array, where there are 10 rows and 10 columns. I need to be able to play against another player (who I do not control). I need help with reading the other users inut final. The program needs to be able to ignore white space and just give the location.

The following is an example :

1 3

8 4

1 6

6

3

So the program would need to ignore the white space of the other users input.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!