1 /* reverse a five digit number and compare them for equality */
10 // printf("Enter the five digit number: ");
13 // /*reverse the number */
16 // num_rev = num_rev + (temp*pow(10,4));
20 // num_rev = num_rev + (temp*pow(10,3));
24 // num_rev = num_rev + (temp*pow(10,2));
28 // num_rev = num_rev + (temp*pow(10,1));
32 // num_rev = num_rev + (temp*pow(10,0));
33 // printf("The reverse is %ld\n",num_rev);
35 // /*check for equality*/
37 // printf("Both reverse and original are equal\n");
39 // printf("Both are not equal\n");