Question: Need help with this little assignment using Java language. Taking a programming class because of my minor. Im stuck need help, thanks! Aim: Write a

Need help with this little assignment using Java language. Taking a programming class because of my minor. Im stuck need help, thanks!

Need help with this little assignment using Java language. Taking a programming

Aim: Write a simple stand-alone Java program from scratch. Simple geometrical reasoning is at the core of Battleships. One important notion is adjacency, with two sub-types: edge adjacency and corner adjacency. For example, the square (4,3) is edge-adjacent to the square (3,3), it is corner-adjacent to the square (3,2), and it is not adjacent to the square (6,7). Write a program that reads a square from the user, and prints out three lists: 1) a list of all edge-adjacent squares, 2) a list of all corner-adjacent squares, and 3) a list of all squares which are not adjacent at all Our version of battleships is played on a 9 by 9 board. The lo As noted, the program will read from the console a shot specification. You can decide which formats to handle. They may include, for example, specifications like ft square is (0,0). (5,5)30 4,1 a7 b 2 An A-level program will handle answers, be clearly written, and be well designed. all the input formats illustrated output correct

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!