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 |
Why & is used in scanf in c?
write a c program to calculate the income tax of the employees in an organization where the conditions are given as. (I.T. = 0 if income <100000 I.T = 10% if income _< 200000 it = 20% if income >_ 200000)
7 Answers Consultancy, DBU, FD, JK Associates, Kobe, Satyam,
What are the properties of union in c?
show how link list can be used to repersent the following polynomial i) 5x+2
What are the advantages of c preprocessor?
What is pointer to pointer in c language?
Write a programe print the sum of series 0,1,2,.....10
what is an inline function?
What is the significance of an algorithm to C programming?
Discuss similarities and differences of Multiprogramming OS and multiprocessing OS?
What is the most efficient way to count the number of bits which are set in a value?
Can a binary search tree be used as an index? If yes, how? Explain