Module: (C++) Subroutines: Procedures and Functions - 2


Problem

5/11

The number of units in the binary notation of a number

Problem

Write a function that finds the number of ones in the binary notation of a number.