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 |
Calculate 1*2*3*____*n using recursive function??
What is the difference between typeof(foo) and myFoo.GetType()?
What is difference between union and structure in c?
Why is sprintf unsafe?
Write a C program where input is: "My name is xyz". output is: "xyz is name My".
What's the right way to use errno?
a C prog to swap 2 no.s without using variables just an array?
why effort estimation is important?
Can you tell me how to check whether a linked list is circular?
Which of the Following is not defined in string.h? A)strspn() B)strerror() C)memchr() D)strod()
what are the languages used in c#?
what do structure language means?