From 0ceb4410cb0678344cdc7c7efc858fc8ceefba73 Mon Sep 17 00:00:00 2001 From: Tharindu Dilshan Sooriyaarachchi Date: Sun, 15 Oct 2023 18:02:40 +0530 Subject: [PATCH] Added Palindrome-App --- Projects/2-Intermediate/Palindrome-App.md | 44 +++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Projects/2-Intermediate/Palindrome-App.md diff --git a/Projects/2-Intermediate/Palindrome-App.md b/Projects/2-Intermediate/Palindrome-App.md new file mode 100644 index 00000000..8612e8d2 --- /dev/null +++ b/Projects/2-Intermediate/Palindrome-App.md @@ -0,0 +1,44 @@ +# 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 + + + +- [Palindrome Program in Java (JavaTpoint)](https://www.javatpoint.com/palindrome-program-in-java) +- [Java Program to Check Palindrome String](https://www.programiz.com/java-programming/examples/palindrome-number) + + +## Example projects + +- [Palindrome Program (TharinduDilshan)](https://github.com/TharinduDilshan/InterviewQuestions/blob/main/Java/Dynamic%20Programming/Palindrome.java] \ No newline at end of file