Topic: Bit Manipulation Problem / Level: intermediate

Problem: Implement a function to get the ith bit of a number.

Run the code to see the output here...