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 a program to count the prime number in array
how to create program in c that will system restart
Need help finishing my homework. It''s been 5 years since I''ve use C++. I am a VN.Net programmer. -Todd
Is friend function can be harmfull to make a secure program/sofware?
A Padovan string P(n) for a natural number n is defined as: P(0) = ‘X’ P(1) = ‘Y’ P(2) = ‘Z’ P(n) = P(n-2) + P(n-3), n>2 where + denotes string concate program 1 : package test
Write a program to calculate the timetable for numbers 1 -> 10 and display them as follows. Your solution should use for do loops #include stdio.h void main() { char p
In the Byteland country a string "s" is said to super ascii string if and only if count of each charecter in the string is equal to its ascci value in the byteland country ascii co
accept principal amount,rate of interest, & duration from the user. display interest amount and total amount
overload assignment opertor to assign the data of one object to anthor
The game of hangman may have originated in the Victorian era, and involves trying to guess a word by suggesting letters. The game is played as follows: A word is chosen and the pl
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