Pergunta de entrevista da empresa NVIDIA

Design a bit conter that output how many bits are on in binary