Problem #849 C LANGUAGE

Write a C++ method to count the number of digits in an integer with the value 2. The integer may be assumed to be non-negative.

Your Solution