To check given number is small or big or How to check which number is big.
chech given number is greter or smaller in c program.
#include <stdio.h>
int main ()
{
int m,n;
printf("Enter values of m&n:");
scanf("%d%d",&m,&n);
if (m>n)
{
printf("%d is grater than %d",m,n);
}
else if (m<n)
{
printf("%d is less than %d",m,n);
}
else
{
printf("%d is equel to %d",m,n);
}
return 0;
}
d