Given an integer n and a position p (0-indexed from the right), clear (set to 0) the bit at that position and return the result.
clearBit(7, 1) => 5
clearBit(5, 0) => 4
Waiting for you...
CodeBot will comment on your code as you write...
Click "Run Code" or press Ctrl+Enter to test your solution