/*Write a function int ASCII_div3(char str[]) that finds and returns the number of chars in str with ASCII values divisible by 3. Write main that reads 10 strings, and for each string prints the number of chars with ASCII divisible by 3. The program stores counters in one-dimensional array of integers. The program finds the string with the max number of chars with ASCII divisible by 3. */ #include #include #define SIZE 10 #define STRING_SIZE 100 void print_array(int A[], int size); int ASCII_div3(char str[]); int main(){ int i,count_array[SIZE]={0}, max, max_index; char str[STRING_SIZE]; for(i=0;imax){ max=count_array[i]; max_index=i; } } printf("max and max index %d %d\n", max, max_index); return 0; } int ASCII_div3(char str[]){ int count=0,i=0, len=strlen(str); for(i=0;i