Question: please use java, thank you! Have the user enter in an odd number n greater than 1. Prompt the user until this criterion is met.

 please use java, thank you! Have the user enter in an

please use java, thank you!

Have the user enter in an odd number n greater than 1. Prompt the user until this criterion is met. Once you have a valid n, create and display a 2D array that has n rows and n columns with the following pattern/picture. Your solution must work for all valid entries of n. Hard coded solutions will receive at most a Level 2 in = 5. The grey is just for emphasis on the pattern and is not needed 1 3 3 3 5 5 un 5 5 3 3 3 1 n = 7 1 3 3 min 5 5 un lin 5 7 7 7 7 7 7 7 7 5 5 5 5 5 3 3 3 1

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!