8/CoolNumbers.java
public static int countCoolNumbers(int stop) {
        int counter = 0;
        for (int i = 7; i < stop; i++) {
            if (isCoolNumber(i)) {
                counter += 1;
            }
        }
        return counter;
    }
/*
     * method countCoolNumbers will return the count of the coolNumbers between
     * 6 and stop
     */
method countCoolNumbers will return the count of the coolNumbers between
6 and stop
method countCoolNumbers will return the count of the coolNumbers between 6 and stop
public static int countCoolNumbers(int stop) {
        int counter = 0;
        for (int i = 7; i < stop; i++) {
            if (isCoolNumber(i)) {
                counter += 1;
            }
        }
        return counter;
    }
public static int countCoolNumbers ( int stop ) { int counter = 0 ; for ( int i = 7 ; i < stop ; i ++ ) { if ( isCoolNumber ( i ) ) { counter += 1 ; } } return counter ; }
method countCoolNumbers will return the count of the coolNumbers between
 6 and stop
method countCoolNumbers will return the count of the coolNumbers between 6 and stop