Question: can u randomly place the ship from column A to J and between row 1-9 for example i want the ship to be three spaces

can u randomly place the ship from column A to J and between row 1-9 for example i want the ship to be three spaces long for example the ship is placed on row 2-4 and in column D also ask user 5 times if he hit or miss the ship use java make the code easy use random generator

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!