I have a program that prints out the characters of a string using a for-loop. It must also print the same characters in reverse, which is where I\'m having problems. Can someone
You need to assign i initially to the length minus one, or the last index value in the array.
for(i = myAnimal.length()-1; i >= 0; i--){ cout << myAnimal.at(i) << endl; }