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 use of object as function?
What is event in javascript?
Is javascript becoming obsolete?
What are the four types of javascript objects?
How to define name function in javascript?
What is jscript used for?
How to use one javascript function for multiple input fields?
coding of java scripts
java pgme for class members hours:minutes:seconds then the constructor expects milliseconds as assignment and initialize data members the members function print hh:mm:ss 90,000 milliseconds passed in constructor then the output is 00:01:30
Is there any ide for javascript?
How do you add an element at the beginning of an array?
Is there any class in javascript?
What is enum with example?
What makes a relation a function?
What is trim whitespace google sheets?