find consecutive 1's in binary number between a range using c
Answers
Answered by
0
Input : n = 14 Output : 3 The binary representation of 14 is 1110. Input : n = 222 Output : 4 The binary representation of 222 is 11011110
Similar questions
Physics,
7 months ago
Math,
7 months ago
Social Sciences,
7 months ago
Math,
1 year ago
Chemistry,
1 year ago