- 1
How can I solve this problem?
write a function with input and output that takes a decimal number and returns the summation of its bits
5 Answers
+ 2
so 5 which is 101 sums as 2 right?
+ 2
so 9 which is 1001 is 5?
+ 2
so 16 is 5.
0
John Wells nup, 3 and I can't get the problems' idea
0