Computer Science, asked by areabhiram2406, 8 months ago

Write a program to check whether the
given number is a palindrome or not.
(Hint: A word, phrase, or sequence
that reads the same backwards as
forwards is the palindrome)
Sample Input - 1:
141
Sample Output - 1:
Palindrome
Sample Input - 2:
2432
sample output -2:
Not a palindrome​

Answers

Answered by satyam21461
0

How do you check whether a given number is palindrome or not?

Palindrome number algorithm

Get the number to check for palindrome.

Hold the number in temporary variable.

Reverse the number.

Compare the temporary number with reversed number.

If both numbers are same, print "palindrome number"

Else print "not palindrome number"

Answered by 9218
1

Explanation:

9how many square tiles with dimension 8 cm can we fixed on a small surface whose length is 64 cm and breadth is 48 CM

Similar questions