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 is the best ide for javascript development?
Is a function an object?
What is the default data type in javascript?
What value does prompt() return if the user clicked the cancel button?
How to import all exports of a file as an object.
What is whitespace in javascript?
How to set a html document's background color?
How do I turn on javascript?
What does break and continue statements do in javascript?
Is it possible to use javascript to change the meta-tags of the page?
What is a function callback?
How can you do a character count in javascript?
What are javascript objects?
What is the real name of JavaScript?
What is dhtml in javascript?