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

What does e mean in javascript?

1014


What are self Executing Functions?

1187


What are the pop-up boxes available in javascript?

963


How to get value from dropdown (select) control?

1065


What are the predefined functions in javascript?

1028


What creates scope in javascript?

1049


How to change style on an element?

980


What is the use of let & const in javascript?

955


How do you implement Ajax using hide() function in JQuery?

2278


How can we detect os of the client machine using javascript?

1103


What is arguments object in JavaScript?

1135


Describe negative infinity in javascript?

990


What is data type in javascript?

992


What is Browser Object Model?

976


how to get no of items from from weblist?

1905