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