Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
C Program for Palindrome
void main()
{
char ch[30];
char ch1[30];
int i,j,l;
clrscr();
printf("ENTER THE STRING: ");
gets(ch);
l=strlen(ch);
j=0;
for(i=l-1;i>=0;i--,j++)
ch1[j]=ch[i];
ch1[j]='\0';
if(strcmp(ch,ch1)==0)
printf("IT IS A PALINDROME");
else
printf("IT IS NOT A PALINDROME");
getch();
}
OUTPUT :
ENTER THE STRING: MALAYALAM
IT IS A PALINDROME
Write two different arrays. Store the names in it and then compare if both the names entered by the user are the same.
Described the ISA and HASA class relationships. How would you apply each in a class design? A: A specialized class "is" specialization of another class and, thus, has the ISA re
Problem: (a) What is the main advantage to using a data file? (b) What is meant by opening a data file? How is this accomplished? Illustrate your answer clearly with a sui
# c pragram TO count the number of occurances of the string in nth padovan''s string program in java // aakash , suraj , prem sasi kumar kamaraj college program 1 : pa
THIS PROGRAM IS TO MULTIPLY THE TWO COMPLEX NO.S GIVEN BY THE USER #include #include #include struct complex { int real; int imag; }; void main() { clrs
THIS PROGRAM IS TO ADD THE TWO COMPLEX NO.S GIVEN BY THE USER */ #include #include #include struct complex { int real; int imag; }; void main() { clrs
The ability to verify at run time the type of an object by using the typed operator or the dynamic_cast operator.
Function fact explain how the process of recursion works in C++.In your answer assume that the function is called to calculate the factorial of 6?
Help me evaluate suitable OpenCV filters to get an inital working tracking algorithm. In this case it's objects moving on water (sea) and since I have very limited OpenCV knowledge
Make the following 3 functions work by filling in appropriate C code. This file 1. // Write a function to count the number of particular characters in a string. // Do not use a
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd