Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to write hello world on the web page?

957


Is there any class in javascript?

1061


Where do I put javascript in html?

865


What is difference between deep and shallow object coping in javascript?

1056


How to create a confirmation box?

951


How can you set position of the page (top and left) to 0 using javascript in one line code?

1022


What is the importance of javascript? Expalin

968


What are the features of javascript?

960


What is the difference between null & undefined?

1011


Where do you write javascript?

919


What javascript method would convert the string “20” to an integer (on the fly) so “20” + 20 = 40?

938


How to get checkbox status whether it is checked or not?

942


How do you target a specific frame from a hyperlink?

939


Give an example of closure?

959


how to read and write a file using JavaScript?

1199