#include <stdio.h>
int main()
{
int x,y;
printf("Enter the first number:\n ");
scanf("%d",&x);
printf("Enter the second number:\n ");
scanf("%d",&y);
if (x>y)
{
printf("The greatest number:%d",x);
}
else
{
printf("The greatest number :%d",y);
}
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: