Palindromic Numbers in Every LanguagePublished on 07 October 2020 (Updated: 07 October 2020)
This is an article on how to check if a number is a palindrome in every language.
A palindrome number is a number that reads the same backward and forward. Example: 343, 121, 909, 222
Create a file called “Palindrome Number” using the naming convention appropriate for your language of choice. Write a program that accepts an input of an integer and prints whether the number is a palindrome or not.
The following table contains various test cases that you can use to verify the correctness of your solution:
|no input||None||Usage: please input a number|
|empty input||””||Usage: please input a number|
|invalid input: not a number||a||Usage: please input a number|
|sample input: palindrome||232||true|
|sample input: not palindrome||521||false|
- Palindromic Numbers in Kotlin on 07 October 2020 by Isaac Anohene
- Fill out as needed