In C, the if-else statement is used to perform operations based on a given circumstance. If and only if the supplied condition is true, the operations described in the if block are carried out.

```
//adam number in c
#include<stdio.h>
#include<math.h>
void main()
{
int r,p,m,b,n,rev,a,c,i,z;
r=0;
rev=0;
printf("Enter any number between 10 and 100:");
scanf("%d",&z);
n=z;
c=n*n;
while(n!=0)
{
m=n%10;
r=r*10+m;
n=n/10;
}
printf("\nThe square of %d is %d",z,c);
printf("\nThe reverse of %d is %d",z,r);
p=r*r;
printf("\nThe square of %d is %d",r,p);
while(c!=0)
{
a=c%10;
rev=rev*10+a;
c=c/10;
}
if(rev==p)
printf("\n%d is an Adam Number",z);
else
printf("\n%d is not an Adam Number",z);
}
```

Output of adam number in c:

Enter any number between 10 and 100:

The square of 50164544 is 6459392

The reverse of 50164544 is 44546105

The square of 44546105 is -1024459599

50164544 is not an Adam Number

C Program to Find the Length of the String Using Pointers

Python Program to Find Sum of Digits of a Number Using For Loop

Python Program to Check if an Element Exists in List

Python Program to Find the Length of a List

Python Program to Left Rotate the Elements of an Array

Python Program to Check Leap Year Using Function

Python Program to Swap First and Last Element of List

Swapping of Two Numbers in Java With Temporary Variable