5. Write a program that reads a number from 8 switches connected to P2 then counts number of 1’s in that number to display it as a binary number on 8 LEDs connected to P3. Include a subroutine in your program to do the task of counting the l’s.
PayPal Gateway not configured
PayPal Gateway not configured