Why my code is not running pls check


why my code is not running pls check;

if(c>1){cout<<“Yes\n”;}
else { cout<<“No\n”;}

make this minor change, not everything has to be printed in caps

https://ide.codingblocks.com/s/363655 pls check why this code is giving wrong

hello @pankajsingh
the value of count will atleast one because empty set is already there .
so ur condition for printing no should be
if count==1 i.e we have only empty subset that produces 0 so print NO
otherwise for all other cases print YES