// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
package april;

public class IsDigitFun {
	public static void main(String[] args) {
		int n = 0;
		for(int i = 0; i < 65535; i++) {
			if(Character.isDigit(i)) {
				System.out.printf("%d\n", i);
				n++;
			}
		}
		System.out.printf("Total: %d\n", n);
	}
}
