Question: 1. Create a program BloomGrid.java that creates a 5-by-5 2D array, then asks the user for an x and y coordinate. Then, print out the

 1. Create a program BloomGrid.java that creates a 5-by-5 2D array,

1. Create a program BloomGrid.java that creates a 5-by-5 2D array, then asks the user for an x and y coordinate. Then, print out the contents of the 2D array, which should have a 3-by-3 plus shape displayed on the grid with the center of the plus being your coordinate. You do not have to make any changes to the grid orientation. If the user places a point at the edge of the grid, you should be able to place any portion of the plus that's still on the grid and not crash

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!