Answers for "find two number from their bitwise & and sum"

1

find two number from their bitwise & and sum

//m=bitwise and n=sum
if(m>=n)
    {
        x=m-n;
        if((x&n)==n)yes;
        else no;
    }
    else no;
Posted by: Guest on February-05-2022

Code answers related to "find two number from their bitwise & and sum"

Browse Popular Code Answers by Language