The following program exercise is on the page 430 of your textbook.

Read a line of text in lowercase, placing each letter onto both a queue and stack. 
Verify whether the text is a palindrome.