Self-Test for Advanced Course
Let your child take a self-test with the following problem.
If he/she cannot solve it, they have to take Intermediate Course.
Write a program if a string is palindrome.
Keep doing it, until you enter "exit".
If you input "exit", escape from while loop.
- Sample input and output
Enter a String : madama
Reversed String is amadam
The Given String is not a Palindrome
Enter a String : madam
Reversed String is madam
The Given String is a Palindrome
Enter a String : exit