Question: there is an refference number.convert the number to binary,then count the 1 . then take some integer.convert all of them to integer.then count each numbers
there is an refference number.convert the number to binary,then count the then take some integer.convert all of them to integer.then count each numbers find the difference with the refference number.print the maximum difference and the correspinding input.if there are input with same difference then find the highest one use c program
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
