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 / bhavesh vala

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

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is dev c++ free?

1040


What are abstract data types in c++?

980


Which sort does c++ use?

1017


What are proxy objects in c++?

1177


Explain class invariant.

1056


Write syntax to define friend functions in C++.

1072


What are move semantics?

1148


Is c++ a dying language?

1144


Can I run c program in turbo c++?

1032


Can notepad ++ run c++?

1076


Where do I find the current c or c++ standard documents?

1083


Define basic type of variable used for a different condition in C++?

1109


How many static variables are created if you put one static member into a template class definition?

1039


What is conditions when using boolean operators?

1218


Are strings mutable in c++?

1130