We were assigned this question in Lab 05 of our Programming Fundamentals course (first semester). The task required us to take a number as input from the user and then count the number of 1s in its ...