|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
I Need Help in JavaScript Problem
Help Plzzzz!!!!!!!!!!!!!!!!!!!...
> A palindrome is a number or a text phrase that reads the same backward and forward. For example, each of the following five-digit integers is a palindrome: 12321, 55555, 45554 and 11611. > ,mvcxmzxWrite a script that reads in a five-digit integer and determines whether it is a palindrome. If the number is not five digits long or is not a valid number, output XHTML text that displays an > alert dialog indicating the problem to the user. Allow the user to enter a new value after dismissing the alert dialog. Continue the whole process until the user enters “stop”. var startNumber = parseInt(12345/10000) var endNumber = 12345%10 var remainNumber = parseIn((12345-startNumber*10000)/10) > This is not a Homework at all. > plzz in Java script. > Hellllllllllllllllllllllllllllp |
|
#2
|
||||
|
||||
|
I'm confused... you want us to do this for you?
Why not show us what you've worked on already and we can help debug any issues. There are all sorts of palindrome algorithms you can base your JS on.
__________________
Daryl's Homepage | My Blogroll | My Profile | Firefox supporter! DevArticles Forum Moderator "The net is a waste of time, and that's exactly what's right about it." -- William Gibson |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > I Need Help in JavaScript Problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|