Can you change the code of how to take the char matrix as input instead of hardcoding

can u elaborate ur code.

Not that can you verify the output of this code

Im getting wrong output verify it and recorrect the code

Please first check if u are printing any unnecessary things which are not asked as in sample output

I cannot figure out whats wrong with that

I will give it a look …

Will you change the code or make required changes with on it


Please check it as a reference.