Question: JAVA: This is my second time posting this question. The first answer was a completely different code. I am only looking for someone to tell
JAVA: This is my second time posting this question. The first answer was a completely different code. I am only looking for someone to tell me whats missing or what needs to be added/ whats the issue with my code.
the assignment:

the output i am supposed to get:

my code:


my output: it only changes the one character to the "*" and not the rest, i have no idea why.

First, read and display the contents of this matrix to the screen. Second, prompt the user for (row, col) coordinates (what are passed to your program through command line argument list). Note the character that is stored in that position. Replace that character with a*. Then recur up, down, left, and right, (but NOT diagonally) and replace similar characters with '". Study these two examples
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
