👤
Ritapopescu
a fost răspuns

Rea a natural number n. Print the number of 1s from the binary representation of n. Example: 547 has 4 digits equal to 1 in its binary representation.
Multumesc mult!!!