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...

Print all the palindrome numbers.If a number is not
palindrome make it one by attaching the reverse to it.
eg:123
output:123321 (or) 12321

Answer Posted / sahibzada nisar ahmad

#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int a,b,c,d,e;
printf("Enter Three Digits Number=");
scanf("%d",&a);
b=a/100;
c=a%100;
d=c/10;
e=c%10;
printf("\n\tThe Reverse Number is =%d%d%d=",e,d,b);
getch();
}

Is This Answer Correct ?    6 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

2846


Explain what are run-time errors?

1099


Which of the following operators is incorrect and why? ( >=, <=, <>, ==)

1177


what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)

2416


Is there a way to jump out of a function or functions?

1107


Calculate 1*2*3*____*n using recursive function??

2048


What is n in c?

1064


When can a far pointer be used?

1035


What are runtime error?

1140


What is difference between constant pointer and constant variable?

1324


What is formal argument?

1141


What is register variable in c language?

1034


Stimulate calculator using Switch-case-default statement for two numbers

3002


what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?

2395


Write a program to swap two numbers without using third variable?

1316