public static void main(String args[]){
        CountNumbersNotIncluding4 cn = new CountNumbersNotIncluding4();
        int c = cn.count(44);
        System.out.print(c);
    }
http://www.geeksforgeeks.org/count-numbers-that-dont-contain-3/
src/com/interview/number/CountNumbersNotIncluding4.java