Write a program that displays the normal binary representations, Gray code representations, and decoded Gray code values for all 5-bit numbers.
Write a program that displays the normal binary representations, Gray code representations, and decoded Gray code values for all 5-bit numbers.