A palindrome is a number or a text phrase that reads the same backward as forward. For example, each of the following five-digit integers is a palindrome: 12321, 55555, 45554 and 11611. Write a script that reads in a five-digit integer and determines whether it is a palindrome. If the number is not five digits, output HTML text that displays an alert dialog indicating the problem to the user. When the user dismisses the alert dialog, allow the user to enter a new value.

What will be an ideal response?


```

1

2

3

4 Solution: 14.24

5

6

25

26

27

28 Click Refresh (or Reload) to run the script again

29

30

```







Computer Science & Information Technology

You might also like to view...

The .gov domain name extension represents all government websites, both inside and outside the U.S

Indicate whether the statement is true or false

Computer Science & Information Technology

To save a Vim file and quit the editor, what command should the user type?

:q :exit :wq :quit

Computer Science & Information Technology

The real power of structures is realized when they are used in an array.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Digital Sugsricber Line technology uses the same twisted-pair cable that voice service travels uses

a. true b. false

Computer Science & Information Technology