import java.util.*;
class
Display_count_of_digits{
System.out.println("Enter
a number");
Scanner sc = new
Scanner(System.in);
int number=
sc.nextInt();
int count=0;
while(number!=0)
{
int
digit= number%10; count++;
number=number/10;
}
System.out.println("The
no of digits in the given number are " +count);
}}