There some error

unable to find the error in code
here is the code:

@vketan182 you have to print “Yes” or “No” you are printing “yes” or “no”

no it is not changing the value of S in the output

@vketan182

  1. why are you assigning string to boolean value image
  2. It should be “Yes” here image
  3. Order of arguments is different in function call and function definition
    image
    .
    .
    image

i have updated the code but it is still not changing the value of S , i think the problem is in the loop but i’m unable to locate it. Here is the code:

hi @vketan182 you are taking input incorrectly. It should be cin >> a[i][j];
image