title: Find the next number divided by 8?
body: <p>Hi this is an interview question.</p>
  
  <p>For any given number calculate next number which is divisible by 8.</p>
  
  <p>i.e. If given number is <code>43</code>, our algorithm should produce <code>48</code> as result. If number is already divisible by <code>8</code> it should say <code>Number already divisible by 8</code> and produce next number divisible by 8.</p>
  
  <p>I suggest them that any number which is divisible by <code>8</code> have last three bits as <code>0</code> (LSB+2,LSB+1,LSB). But I am not able to give exact solution.</p>
  
  <p>What I said is right approach to solve this problem or we can go for some smarter solution?
  I need to do this with bit manipulation.</p>