Código C:
Ver originalint max(int a, int b ) { if (a < b) return b ; else return a; }
int min(int a, int b ) { if (a < b) return a ; else return b; }
int main()
{
int a,b,c;
scanf("%d %d %d ",&a
,&b
,&c
); printf("el menor es: %d - El Mayor es %d\n", max
(max
(a
,b
),c
) , min
(a
,min
(b
,c
))); return 0;
}