Plastic 8
# include & ltiostream.h & gt

int max(int int _ array[]); //Maximum value

int min(int int _ array[]); //Minimum value

Invalid master (invalid)

{

int array[8];

int max _ value

int min _ value

for(int I = 0; I<8; i++)

{

Cout & lt& lt "Please enter the first one"

cin<& ltarray[I];

}

Max_value=max (array);

Min_value=min (array);

Cout < < "The maximum value in the input value is

Cout < < "What is the minimum value in the input value?

}

Int max(int int_array[]) // Maximum value

{

Int is big;

big = int _ array[0];

for(int count = 0; Count & lt8; count++)

if(int _ array[count]& gt; = large)

big = int _ array[count];

Great returns;

}

Int min(int int_array[]) // Minimum value

{

int small

small = int _ array[0];

for(int count = 0; Count & lt8; count++)

if(int _ array[count]& lt; = small)

small = int _ array[count];

Small regression;

}