/*WAP to check enter no. is palendron or not */
#include<stdio.h>
#include<conio.h>
void main()
{
int n,rem,i,rev=0;
clrscr();
printf("enter no.");
scanf("\n%d",&n);
for(i=n;i>0;)
{
rem=i%10;
rev=rev*10+rem;
i=i/10;
}
printf("%d",rev);
if(n==rev)
{
printf("\nenter no. is palendron");
}
else
{
printf("\nenter no isn't palendron");
}
getch();
}
Read & Rate interesting articales to earn money!
per artical $0.03 to $0.10
link: http://www.readbud.com/?ref=4096068
EARN MONEY BY BUMPING SITES, DAILY 5 ADS TO CLICK,
PER CLICK 0.02$, DAILY 0.10$ EARN, MINIMUM PAYOUT 15$,
YES ITS FREE TO JOIN
http://www.MoneyBumper.com/Main.cfm?R=134526
No comments:
Post a Comment