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
How to disable an html object ?
How do I enable cookies and javascript?
Explain arrow functions?
How to create a confirmation box?
List the comparison operators supported by javascript?
How do I enable cookies safari?
How do I open javascript in browser?
What is the importance of javascript? Expalin
What does the operator do in javascript?
What is a function object?
Are you concerned that older browsers don't support javascript and thus exclude a set of web users? Individual users?
Which javascript is best?
Explain how to detect the operating system on the client machine?
How to change the background color of HTML document using JavaScript?
What are the different functional component in javascript?