Answer :

#include<stdio.h>  //header file contains the function,decleraction and macro defination of key words used in code.

int main ()

{

int digit1,digit2,digit3;  //adressing the variables

printf("Enter the 1st digit ");  //output

scanf("%d",&digit1);

printf("Enter the 2nd digit ");  //output

scanf("%d",&digit2);

printf("Enter the 3rd digit ");  //output

scanf("%d",&digit2);

if (digit1>digit2 && digit1>digit3)

{

printf("%d is the grater number",digit1);  //output

}

else if (digit2>digit1 && digit2>digit3)

{

printf ("%d is grater number");  //output

}

else

{

printf("%d is the largest number");  //output

}

}

Output :