#include int main(void) { int i, j, k, max; printf(" Enter an integer number i= "); scanf("%d", &i); printf("\n Enter an integer number j= "); scanf("%d", &j); printf("\n Enter an integer number k= "); scanf("%d", &k); /* Compare i, j, k with each other to find maxium */ if ( i > j) { if ( i > k ) max = i; else max = k; /* k >= i and i > j */ } else { if ( j > k ) max = j; /* j >= i and j > k */ else max = k; /* k >=j and j >= i */ } printf("\n The largest out of 3 numbers = %d\n", max); return(0); }