Topic: Bit Manipulation Problem / Level: beginner

Problem: Write a function to set all bits in the right half of a binary number.

Run the code to see the output here...