Saturday, 10 December 2011

How to check if a number is a palindrome using for loop


.fieldsetOut{
background:#1E90FF;
padding:0px 0px 0px 0px;
font-family: "courier new"
}
.fieldsetIn{
background:white;
margin:1px 1px 1px 1px;
padding:1px 1px 1px 1px;
border: 0px 0px 0px 0px

}
.explanation{
color:#800000;
font-size:25px;
font-weight:900;
letter-spacing:15
}










#include

int main(){

    int num,r,sum=0,temp;



   
printf("Enter a number:
");

No comments:

Post a Comment