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