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