L
LedZep
What up everyone,
I have to write a program that uses a stack to determine whether a
string is a palindrome (a string that is spelled identically backward
and forward). The program has to ignore spaces, case sensitivity and
punctuation.
I need three text boxes. The first will be for input of the string.
The second will display the string when the "check" button is clicked
and the result of the analysis (string is a palindrome or is not a
palindrome). The third text box should show how the two strings
compared, with the first one being displayed forward and the second
backward.
I have to use a stack for this problem and I'm kind of lost. If anyone
can get me started or show me some examples, that would be awesome.
TIA,
LedZep
I have to write a program that uses a stack to determine whether a
string is a palindrome (a string that is spelled identically backward
and forward). The program has to ignore spaces, case sensitivity and
punctuation.
I need three text boxes. The first will be for input of the string.
The second will display the string when the "check" button is clicked
and the result of the analysis (string is a palindrome or is not a
palindrome). The third text box should show how the two strings
compared, with the first one being displayed forward and the second
backward.
I have to use a stack for this problem and I'm kind of lost. If anyone
can get me started or show me some examples, that would be awesome.
TIA,
LedZep