what’s wrong in this code? Please rectify my mistake.
Please find the error in my code
Consider:
4 4 5 10
" . . . . "
" . # . . "
" * * * * "
" * # * * "
Expected Output:
No
Your Output:
Yes
10
For reference check this https://ide.codingblocks.com/s/261551
@pratyush63 Can you please update my code & tell me where is the mistake (line number) or add a comment to it.
notable mistake was u took int matrix instead of char matrix hence always the else condition was encountered
allso added comments to ur code