C++ Chapter 6!

1. Write a program that uses the function iSNurnPalindrome given in Example
6-5 (Palindrome Number). Test your program on the following numbers:
10, 34, 22, 333 , 678 , 67876, 44444, and 123454321.
Well, we could do that, but how would that help you?

-Albatross
you can convert a number to a string with the <stringstream> set of objects

you can access an individual character in a string with the [] operator

you can add a single char to a string using the += operator.

(that's all the hint i'm giving you)
Topic archived. No new replies allowed.