unable to find the error in code
here is the code:
There some error
no it is not changing the value of S in the output
- why are you assigning string to boolean value
- It should be “Yes” here
- Order of arguments is different in function call and function definition
.
.
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: