#include
Int Max (int a []);
Int Min (int a []);
Int main ()
{
Int I, a [10], Max, min,
for(i=0; i<10; I++)
The scanf (" % d ", & amp; A [I]);
Max=Max (a);
Min=min (a);
Printf (" Max=% d, min=% d \ n ", Max, min);
return 0;
}
Int Max (int a [])
{
Int I, Max.
for(i=0; i<10; I++)
If (a [I] & gt; Max)
Max=a, [I].
The return of Max;
}
Int Min (int a [])
{
Int I, min;
for(i=0; i<10; I++)
If (a [I]
Return min;
}
CodePudding user response:
Max uninitializedint Max (int a [])
{
Int I, Max.
Max=a, [0].
for(i=1; i<10; I++)
If (a [I] & gt; Max)
Max=a, [I].
The return of Max;
}
CodePudding user response:
The