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 C rpogram that can display the transpose form of a ciphertext matrix.Prompt users to provide row and coloumn number of matrix.Then user will input plaintext and the program
Read numbers form user and place them in array: Program is to read a group numbers of numbers form user and place them in array type of float and sort them void sort(floa
THIS PROGRAM IS TO COMPARE THE TWO DATES GIVEN BY THE USER #include #include #include struct date { int dd; int mm; int yy; }; date compare(date d1,date d2) {
This task involves char arrays and pointer based string handling. Which we use to make a simple encryption program, using a Caesar Cipher, Write a program that: a. Asks
electricity biil code
Add a function for saving the text stored in an array to a file. Your program must check whether or not the output file already exists, and if it does, your program must ask the us
Implement (a part of) electronic election Scenario where following political parties are participating in election: PPP, PML and PTI. Create a class PollingStation where it stor
Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send
C program to demonstrate Pointer to string: void main() { int a; char str[]="hello how are you?",*ptr_str; ptr_str=&
Project Description: I have a code that works different on 64 bit and 32 bit system. Code is relative to some crypt functions, similar, but not equal to: I have to move fr
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