answersLogoWhite

0


Best Answer

<html>

<head><title>Check palindrim or not</title>

<script language="javascript">

var no,rem,sum=0,temp;

no=prompt("Enter the no from user for check"," ");

temp=no;

while(no>0)

{

rem=no%10;

sum=sum*10+rem;

no=no/10;

}

if(temp==sum)

document.write("The given no is palindrom");

else

document.write("The given no is not palindrom")

</script>

<body>

</body>

</html>

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Javascript program for palindrome of numbers?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What Palindrome numbers?

Palindrome numbers are numbers that read the same backwards and forwards, like 32923


What numbers can you add to make a palindrome?

10+1=11 (which is a palindrome)


How do you write a palindrome program in c in Wikipedia?

You don't have to write palindrome programs in wikipedia.


What are palendron numbers?

Probably a misspelling of palindrome numbers.


Write a Program in c to find palindrome numbers between any two numbers?

please somebody should help me answer this question..I have a project on it even! It seems almost impossible at the moment.


Can a palindrome also be in numbers?

Yes.


Numbers that make a palindrome?

23932


Fatorial of a number program in javascript?

hi darling


How can one learn how to program the JavaScript confirm dialog box into their code?

There are a number of ways in which one can learn how to program the JavaScript confirm dialog box into their code. One way is by reading the relevant tutorials on the website JavaScript Kit.


What has the author George Pickering written?

George Pickering has written: 'JavaScript how-to' -- subject(s): JavaScript (Computer program language)


Write a PHP program to check whether the string is palindrome or not?

You can do this: &lt;?php if ( $word === strrev( $word ) ) { echo "The word is a palindrome"; } else { echo "The word is not a palindrome"; }


What is a palindrome meaning sports numbers?

stats