#include <stdio.h>
int main() 
{
    int a,b,c;
    printf("to find the greatest of three numbers\n");
    scanf("%d%d%d", &a,&b,&c);
    if(a>b&&a>c)
    {
    printf("a is greater than b and c");
    }
    else if(b>c&&b>a)
    {
        printf("b is greater than a and b");
    }
    else
    {
    printf("c is greater than a and b");
    }
    return 0;   
}

Embed on website

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