You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.4 KiB
1.4 KiB
Palindrome-App
Tier: 2-Beginner
A palindrome is a word, number, phrase, or other sequence of symbols that reads the same backwards as forwards.
The purpose of this application is to check whether the given number is palindrome or not.
Constraints
Below algorithm can be used to build the application.
- Get the user input number
- Hold the input number value in a temporary variable
- Reverse the number
- Compare the temporary number with reversed number
- If the both temporary number and reversed number are same, print 'Yes, it's a palindrome number'
- Else print 'Not a palindrome number'
User Stories
- User can input a number for palindrome.
- User can see thesplay user input number.
- User can see the reversed number.
- User can .whether the imput number is Palindrome or not.
Bonus features
- User can input a string and check whether it is a palindrome.
- User can input number array or string array and check whether the elemnents in arrays are Palindrome or not.
Useful links and resources
Example projects
- [Palindrome Program (TharinduDilshan)](https://github.com/TharinduDilshan/InterviewQuestions/blob/main/Java/Dynamic%20Programming/Palindrome.java]