Problem #458 CORE JAVA PROGRAMMING

Write a Java 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