#include <stdio.h>

int main()
{
    int x,y,z;
    printf("enter the first number:\n");
    scanf("%d",& x);
    printf("enter the second number:\n");
    scanf("%d",& y);
    printf("enter the third number:\n");
    scanf("%d",&z);
    if(x>y && x>z)
    {
     printf("x greatest");
    }
    else if(y>x && y>z)
    {
        printf("y is greatest\n");
    }
    else
    { 
      printf("z is atest number");
    }
}

Embed on website

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