What's wrong in this code - https://ide.codingblocks.com/s/335471

what’s wrong in this code - https://ide.codingblocks.com/s/335471

hi @hssharma2212000 fix the syntax errors in this code or give the working code, the if else pairs are not formed correctly.
And print new line after printing “No” also

@hssharma2212000 not working for n = 0

@hssharma2212000 its not working for subsets also

for eg -1 1 3 should give yes
because {-1, 1} is a valid subset
but your code is giving output No

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.