go to previous page   go to home page  

Answer:

Yes. First fill azBuffer with characters, as above. Next use a for loop that compares pairs of characters starting at both ends of the buffer going in toward the middle.

Another way is to directly examine the original String by moving two indexes through it, one forward, the other in reverse. But now dealing with punctuation and upper and lower case is tricky.


End of Chapter

You have reached the end this chapter. Click on a subject that interests you to go to where it was discussed.


go to previous page   go to home page