#include<stdio.h>
int main()
{
    int num , rem=0, sum=0 , temp ;

    printf(" Enter the number : ");
    scanf(" %d ", &num);

    temp =num ;

    while(temp >0)
    {
        rem= temp %10;
        sum = (sum*10)+rem;
        temp = temp /10 ;
    }
    if(num==sum)
        printf(" %d is a pelindrome number  ", num);
    else
        printf(" %d is not a pelindrome number ", num);
    return 0 ;
}

OUTPUT :

Enter the number : 151
151 is a pelindrome number

Enter the number : 169
169 is a pelindrome number


For Other Programs Visit The WebSite:-   https://www.techapurba.com/

Follow Me On Social Media :-

For tech related videos visit my other website :- https://apurbatechinfo.blogspot.com/