Topic: Bit Manipulation Problem / Level: intermediate

Problem: Write a program to check if the binary representation of a number contains three consecutive bits.

Run the code to see the output here...