Bootstrap

郑州轻工业大学OJ:java1017

import java.util.Scanner;

public class Main {
public static void main(String[] args) {
double a;
int b=0;
Scanner in=new Scanner (System.in);
a=in.nextInt();
while (a>=1) {
b=b+1;
a=a/10.0;
}
System.out.println(b);
}

}

;