please help me out with this coding I need to determine if the set of the number is Palsindrome.
Code:1 #include <stdio.h> 2 3 int main() 4 { 5 6 int number; 7 int a=/*needed number*/; 8 int x=0; 9 int y=a; 10 11 printf("Enter the set of number:"); 12 scanf("%d", &number); 13 while(z) 14 { 15 x*=10; 16 x+=z%10; 17 z/=10; 18 } 19 20 if(x==a){ 21 22 printf("The set of number is a Palindrome"); 23 24 } 25 26 else{ 27 printf("The set of number is not a Palindrome"); 28 29 } 30 return 0; 31 }