What's New-Given Below
technicalsymposium
technicalsymposium
technicalsymposium

Free E-Mail Alerts

C/C++ Lab Program(s)/Materials

C Program For PALINDROME OF NUMBER.

#include<stdio.h>
#include<conio.h>
void main()
{
int k,n,t,s=0;
clrscr();
printf("Enter the n value:");
scanf("%d",&k);
n=k;
while(n>0)
{
t=n%10;
s=s*10+t;
n=n/10;
}
if(k==s)
{
printf("given %d number is palindrome",k);
}
else
{
printf("not palindrome");
}
getch();
}

technical symposium

Technicalsymposium.com-Latest Updates
Fresher’s Jobs/Symposium/Education Updates-Click below

Subscribe for Free E-Mail Alerts-Click below
technical symposium

Hosting by Yahoo!

About-Us    Contact-Us    Site-map

©copyright 2009 All rights are reserved to technicalsymposium.com