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
Are there any iphone Institutes which also train iphone automation testing in Hyderabad?
What are different types of scope chain available in javascript?
What is shift() method in javascript?
In a java script, what is the difference between "==" and "===" operator?
What is new function in javascript?
What is difference between api and library?
What is the use of debugger keyword in javascript?
Is a parabola a function?
What is external javascript?
Name some of the ways in which Type Conversion is possible?
How can JavaScript be used?
Why is javascript so important?
What is the use of a number object in javascript?
Are there any predefined constant provided by the browser with the key code values that can be reused?
What is the difference between ‘function declaration’ and ‘function expression’?