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 |
write a program to delete an item from a particular location of an linear array?
Write a program for finding factorial of a number.
WAP to find that given no is small or capital
Can true be a variable name in c?
Why the use of alloca() is discouraged?
7. Identify the correct argument for the function call fflush() in ANSI C: A)stdout B)stdin C)stderr D)All the above
c program to compute AREA under integral
Where can I get an ansi-compatible lint?
what is the use of c program?
4 Answers Synergy, Web Synergies,
Is sizeof a keyword in c?
Write a program to generate random numbers in c?
the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above