int indexing(string str){ // Count "e" by using a loop looking at character index in string int count = 0; int sz = strlen(str); for(int i=0;i