Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write program for palindrome

Answer Posted / chander singh

#include<stdio.h>
#include<conio.h>
void main()
{
int r,n,k=0,l;
printf("\n\t\tENTER THE NUMBER \t");
scanf("%d",&n);
l==n;
while(n>0)
{
r=n%10;
n=n/10;
k=k*10+r;
printf("%d",r); //
}
if(r==m)
printf("\n\t\tpalindrome");
else
printf("\n\t\t not palindrome");
getch();
}

Is This Answer Correct ?    16 Yes 25 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between n and endl in c++?

1091


How do you import payscale data from non SAP to SAP?is it through LSMW or any other way is there?

3647


the first character in the variable name must be an a) special symbol b) number c) alphabet

1090


What is switch case in c++ syntax?

1112


what is Loop function? What are different types of Loops?

1227


How would you use the functions randomize() and random()?

1073


what is a class? Explain with an example.

1136


Can we distribute function templates and class templates in object libraries?

1073


What is an html tag?

1143


What is the use of data hiding?

1015


What is friend class in c++ with example?

1022


How does atoi function work?

1147


What is class in c++ with example?

1260


What is ctime c++?

1125


What is an undefined reference/unresolved external symbol error and how do I fix it?

1117