Answer Posted / 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 View All Answers
The statement, int(*x[]) () what does in indicate?
How to establish connection with oracle database software from c language?
What is a void pointer in c?
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(
Why we use void main in c?
Why c language?
What is static memory allocation?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
How can you find out how much memory is available?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
Explain what’s a signal? Explain what do I use signals for?
What is assignment operator?
ATM machine and railway reservation class/object diagram
Is Exception handling possible in c language?
How can you read a directory in a C program?