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...


print the palindrome numbers in between 0 to n



print the palindrome numbers in between 0 to n..

Answer / darshana

Dim num As String
Dim ch() As Char
Dim ch1() As Char

Console.WriteLine("enter the number")
num = Console.ReadLine()
ch = num.ToCharArray
ch1 = num.ToCharArray
' For i As Integer = 0 To ch.Length - 1
Array.Reverse(ch)
If ch = ch1 Then
Console.WriteLine("palindrome")
Else
Console.WriteLine("not palindrome")
End If

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More C Interview Questions

Why & is used in scanf in c?

0 Answers  


write a c program to calculate the income tax of the employees in an organization where the conditions are given as. (I.T. = 0 if income <100000 I.T = 10% if income _< 200000 it = 20% if income >_ 200000)

7 Answers   Consultancy, DBU, FD, JK Associates, Kobe, Satyam,


What are the properties of union in c?

0 Answers  


show how link list can be used to repersent the following polynomial i) 5x+2

0 Answers   CBSE,


What are the advantages of c preprocessor?

0 Answers  


What is pointer to pointer in c language?

0 Answers  


Write a programe print the sum of series 0,1,2,.....10

7 Answers  


what is an inline function?

2 Answers   TCS,


What is the significance of an algorithm to C programming?

0 Answers  


Discuss similarities and differences of Multiprogramming OS and multiprocessing OS?

4 Answers   TCS,


What is the most efficient way to count the number of bits which are set in a value?

4 Answers  


Can a binary search tree be used as an index? If yes, how? Explain

0 Answers   TCS,


Categories