Input a Number and Check if it's Palindrome or not C Program

How to write a C Program to input a number and check if it's palindrome or not in C Programming Language ?



//Program to input a number and check if it's palindrome or not.
#include<stdio.h>
#include<conio.h>

void main()
{
int number,

clrscr();

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

while(number != 0) {
number % 10);
number = number / 10;
}

getch();
}

check if the number is a palindrome number or not.


Learn More :