| Day 24 | Day 25 |
Let’s conclude the event with the final present from me to all Perl fans. This video is picked from my YouTube Channel.
Task #1: Swap Odd/Even bits
You are given a positive integer
$N less than or equal to
Write a script to swap the odd positioned bit with even positioned bit and print the decimal equivalent of the new binary representation.
If you have any suggestion then please do share with us firstname.lastname@example.org.