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 |
Explain how do you sort filenames in a directory?
Difference between constant pointer and pointer to a constant.
can anyone proide me reading material on svit00ef27@yahoo.com please thanx in advance
how can be easily placed in TCS.
Can I pass constant values to functions which accept structure arguments?
application attempts to perform an operation?
What is pointer & why it is used?
Method Overloading exist in c ?
WHAT IS HIGH LEVEL LANGUAGE?
If an old women's age is the same as her three grand daughters i,mean the number of days old child=the no of weeks old child=no of months old child .The total yrs of all these ppl is 114 yrs...then how old is the old woman? the yr has 365 days..and 30 days each month.
What is int main () in c?
Is anything faster than c?