compare two integers in c code example
Example: compare two integers in c
#include <stdio.h>
int main() {
int a, b;
printf("Enter number a : ");
scanf("%d", &a);
printf("Enter number b : ");
scanf("%d", &b);
if(a > b)
printf("a is greater than b");
else
printf("a is not greater than b");
return 0;
}