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 |
Where does the name "C" come from, anyway?
4.weight conversion: Write a program that will read weight in pounds and convert it into grams.print both the original weight and the converted value.There are 454 grams in a pound.design and carry out a test plan for this program.
write a program to display the frequency of each element in a given array in c language
Explain About fork()?
Can main () be called recursively?
Q-1: Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college.
What are variables c?
What is the difference between union and structure in c?
Can we add pointers together?
how many errors in c explain deply
Why is main function so important?
what is the output of below int n=10; (n++)++; printf("%d",n);