You are given a two-dimensional chars array In the main method, you need to replace all interior elements with a hyphen (minus sign). Use the private printArray() method to display the contents of the array on the screen. Example array: a b c d e f j h i j k l m n o p q r s t u v w x After running
Cutting down the middle
You must be signed in to leave a comment
9 August 2022, 05:46
Keep in mind the solution needs to work for different array sizes, not JUST the one shown.
8 July 2022, 12:03
anyone who can simplify this task and give a run down solution with explanations? Really stuck on this one
steven anthony kwong
1 February 2022, 10:17
Finally got the solution. I can see what I am being taught. ( I don't mean the bleeding obvious here for those who is quick to judge!) okay. good learning but could have given a hint. Its okay. Its good for the soul and I did enjoy it very much. Taxing though.
Anonymous #10847640 Java Developer at CGI
16 October 2021, 02:31
not sure what is wrong here. I am displaying the correct array at the end but the validation is failing.
John Squirrels Website Admin at CodeGym
16 October 2021, 09:34
If you have issues with validation, please submit a question in the Help section. Otherwise, no one can see your code and no one can help you.
Kruzik762 Java Developer
10 May 2022, 16:08
I've having the same issue. I have it displaying perfectly but it still fails the test.