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

Are there any iphone Institutes which also train iphone automation testing in Hyderabad?

1976


What are different types of scope chain available in javascript?

839


What is shift() method in javascript?

954


In a java script, what is the difference between "==" and "===" operator?

1001


What is new function in javascript?

1001


What is difference between api and library?

957


What is the use of debugger keyword in javascript?

864


Is a parabola a function?

869


What is external javascript?

1042


Name some of the ways in which Type Conversion is possible?

918


How can JavaScript be used?

918


Why is javascript so important?

926


What is the use of a number object in javascript?

953


Are there any predefined constant provided by the browser with the key code values that can be reused?

876


What is the difference between ‘function declaration’ and ‘function expression’?

1014