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 |
Discuss similarities and differences of Multiprogramming OS and multiprocessing OS?
Why do we use int main instead of void main in c?
Is c procedural or object oriented?
Why cd or dvd are round why not square.
Derive the complexity expression for AVL tree?
write a program to swap two variables a=5 , b= 10 without using third variable
Explain Linker and Loader
write a c program for greatest of three numbers without using if statment
Why we not create function inside function.
Write a code on reverse string and its complexity.
What is action and transformation in spark?
How can a program be made to print the line number where an error occurs?