Write a program to check whether a given number is a
palindrome or not?
Answer Posted / sharma v
num=InputBox ("Enter a number")
z=num
r=0
While(num>0)
rem1=num mod 10
num=num\10
r=(r*10) + rem1
Wend
If (r=z)Then
Msgbox "Given no is palindrome"
else
Msgbox "Given no. is not palindrome"
End If
| Is This Answer Correct ? | 23 Yes | 17 No |
Post New Answer View All Answers
What does e mean in javascript?
What are self Executing Functions?
What are the pop-up boxes available in javascript?
How to get value from dropdown (select) control?
What are the predefined functions in javascript?
What creates scope in javascript?
How to change style on an element?
What is the use of let & const in javascript?
How do you implement Ajax using hide() function in JQuery?
How can we detect os of the client machine using javascript?
What is arguments object in JavaScript?
Describe negative infinity in javascript?
What is data type in javascript?
What is Browser Object Model?
how to get no of items from from weblist?