Question: Write a program that prints all the 8 bit binary palindromes. A palindrome reads the same both forward and backward. Your solution must use bitwise

 Write a program that prints all the 8 bit binary palindromes.

Write a program that prints all the 8 bit binary palindromes. A palindrome reads the same both forward and backward. Your solution must use bitwise operators to find the binary representation. If your solution uses math operators such as addition, subtraction, multiplication, division and remainders to find the binary 1's and 0's, zero credit will be awarded. Examples: 10000001 is a binary palindrome. 01010101 is not because it reads 10101010 backwards

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!