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 / anonymous

#include<stdio.h>
#include<conio.h>
int main()
{
int n,s=0,m,r;
printf("enter any no");
scanf("%d",&n);
m=n;
while(n>0)
{
r=n%10;
s=s*10+r;
n=n/10;
}
if(m==s)
printf("the no is palindrome");
else
printf("no is not palindrome");
getch();
return 0;
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program in C++ for Fibonacci series

1205


What is the benefit of c++?

1129


How can I learn c++ easily?

1076


How many different levels of pointers are there?

1207


What is a responder chain?

1054


Write a program to find the reverse Fibonacci series starting from N.

1266


What is the two main roles of operating system?

1037


Explain some examples of operator overloading?

1100


Explain the difference between overloading and overriding?

1139


What is ostream in c++?

1009


What is c++ coding?

1200


What's the hardest coding language?

1002


What is virtual base class uses?

1347


What are the 3 levels of programming languages?

1041


Why do we use setw in c++?

1111