![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Professional Programmer
|
Palindrome [Stupid rules]
Basically I have to write a program where the user can enter up to 30 characters and I have to check if the input is a palindrome. I did write this program and it works 100% however there is a catch... The professor wants us to store the input in char variables as in declare 30 chars and use that. What do you guys think is the least tedious way to accomplish this???
Thanks in advance.
__________________
JG-Webdesign |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Simple, contrived programming exercise | DaWei | Coder's Corner Lounge | 16 | Jun 14th, 2006 10:56 AM |
| Testing for a palindrome using std::string | Jessehk | C++ | 9 | May 3rd, 2006 1:55 AM |
| if the character string is palindrome ? | eax | Assembly | 3 | Apr 8th, 2006 12:16 PM |