use the strrev() function on the given string and compare with original string.If both are equal they are palindromes else not.
int main (void) { puts ("210"); return 0; }
public class CreateDatabase{ public static void main(){ int a=10; int b=20; int result =a+b; System.out.println(result); } }
wap to print all the arnstrong no. between 100&1000
clsinput" enter any string";a$f=Len(A$)d=1AA:b$= mid$(a$,d,1)d=d+1c=asc(b$)if c=101 or c=105 or c=970 or c=111 or c=117 thencnt= cnt+1end ifif d
Main(include.h)
plz any1 give code on given exampleAs i know we can check String is it palindrome or not..take a look onCode_for_palindrome_checking_in_c_programmingorvoid main(){char strsrc[100];char strtmp[100];printf(" Enter String:= ");gets(strsrc);strcpy(strtmp,strsrc);strrev(strtmp);if(strcmp(strsrc,strtmp)==0)printf("\n Entered string " %s " is palindrome",strsrc);elseprintf("\n Entered string "%s" is not palindrome",strsrc);getch();}You cite 2 examples of what you are looking for so why are you asking the question? The palindrome is word "radar" so obviously the program needs to extract individual word from the string in order to test. That is a simple thing to do. I am not going to do it for you because if I do you do not learn what you need to know.....i did separated string by for (i=0 arr!=arr.lnegth i++){if(arr[i]==" ")} then each string checked for this code but that not right as persistence employee said..
Research did not yield any reasonable solution to your question.
#include<stdio.h> #include<conio.h> #include<string.h> main() { char str[20],revstr[20]; int i,j=0,l,n; printf("enter a string"); scanf("%s",str); l=strlen(str); n=l-1; for(i=n;i>=0;i--) { revstr[j]=str[i]; j++; } revstr[j]='\0'; if((strcmp(str,revstr))==0) printf("palindrome"); else printf("not a palindrome"); getch(); }
WAP sites are websites that are written in, or dynamically converted to, WML (Wireless Markup Language) and accessed via the WAP browser. A WAP chat site will allow you to chat with people from all around the world through the convenience of your WAP mobile device. With WAP Chatrooms you can make a place(s), where WAP users can chat in real time. You can set up a range of chat rooms so that your guests can find people who have similar interests.
Contact the school network administrator for assistance.
Samsung s5233 wap code
To get wap on your mobile phone, simply get in touch with your service provider. The provider will give you instructions on how to get wap.
Sum of numbers from 1 to 100:(1+100) + (2+99) + (3+98) + (4+97) + ... + (49+52) + (50+51) =50 pairs, each pair adds up to 101= (50 x 101)= 5,050
WAP is Wireless Application Protocol
wap setting
int main (void) { puts ("210"); return 0; }
What are the feature of WAP?"