1065: 统计数字字符的个数
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner cin = new Scanner(System.in);String s=cin.nextLine();int result=0;for(int i=0;i<s.length();i++){
char ch=s.charAt(i);if(ch>='0'&&ch<='9') result++;}System.out.println(result);}
}