main.java
/*******************************************************************************************
     * CharCount
     * This function takes in a string and counts then returns the number of
     * characters in the string.
     *******************************************************************************************/
CharCount
This function takes in a string and counts then returns the number of
characters in the string.
CharCount This function takes in a string and counts then returns the number of characters in the string .
public static int CharCount(String str) {
        int count = 0;
        String string = str;
        for(int i = 0; i < string.length(); i++) {
            count++;
        }
        return count;
    }
public static int CharCount ( String str ) { int count = 0 ; String string = str ; for ( int i = 0 ; i < string . length ( ) ; i ++ ) { count ++ ; } return count ; }
CharCount
 This function takes in a string and counts then returns the number of
 characters in the string.
CharCount This function takes in a string and counts then returns the number of characters in the string .