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

What is the difference between malloc() and calloc() function in c language?

0 Answers  


IS Doon college of Engn.. has good faculty

1 Answers  


What is a macro in c preprocessor?

0 Answers  


What is the difference between getch() and getche()?

1 Answers   NSPL,


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

0 Answers   Sikkim Manipal University,


HOW TO FIND OUT THE RREVERS OF A GIVEN DIGIT NUMBER IF IT IS INPUT THROUGH THE KEYBORD BY USING C LANGUAGE

3 Answers   Wipro,


How to implement a packet in C

0 Answers   Aricent,


What are the advantages of using linked list for tree construction?

0 Answers  


What is an operator?

0 Answers  


Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?

0 Answers   Celstream,


write a function that accepts an integer/char array and an search item.If the search item is there in the array return position of array and value else return -1.without using other array,without sorting,not to use more than one loop?

3 Answers   Mind Tree,


Is struct oop?

0 Answers  


Categories