Topic: Bit Manipulation Problem / Level: beginner

Problem: Create a function to convert a number to its Gray code representation.

Run the code to see the output here...