#include <stdio.h>

int main()
{ int a,b;
 printf("Enter a:\n");
 scanf("%d",&a);
 printf("Enter b:\n");
 scanf("%d",&b);
 if (a>b)
 {printf("a is greater than b");}
 else if (b>a)
 {printf("b is greater than a");}
 else 
 {printf("Both are equal");}
 
    }

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: