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

Discuss similarities and differences of Multiprogramming OS and multiprocessing OS?

4 Answers   TCS,


Why do we use int main instead of void main in c?

0 Answers  


Is c procedural or object oriented?

0 Answers  


Why cd or dvd are round why not square.

1 Answers  


Derive the complexity expression for AVL tree?

1 Answers  


write a program to swap two variables a=5 , b= 10 without using third variable

5 Answers  


Explain Linker and Loader

5 Answers  


write a c program for greatest of three numbers without using if statment

4 Answers   IBM,


Why we not create function inside function.

0 Answers  


Write a code on reverse string and its complexity.

0 Answers   Expedia,


What is action and transformation in spark?

0 Answers  


How can a program be made to print the line number where an error occurs?

0 Answers  


Categories