Cutting down the middle

  • 6
  • Locked
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
You can't complete this task, because you're not signed in.
Comments (4)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
steven anthony kwong
Level 9 , United Kingdom, United Kingdom
1 February, 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, 16:08
I've having the same issue. I have it displaying perfectly but it still fails the test.