Z\rvoid put_array(int x[],int size) {\rfor(int i=0;i<size;i++)\rcoutx[i]" n;\rcoutendl;\r)\rP§sG¨©??ª«\rini getrand(int min,int max) {\rint m;\rm=(max-min);\rm=min+double(rand())/RAND_MAX*m ;\rreturn m;\r)\rP mainl?? max_element() min_element()p\rvoid main ()\r(\rPbc?Z\rint i;\rint x[ARRAY_SIZE];\rPk1ÓU 100ª«?´µ¶?Z\nV/0\rsrand( (unsigned)time( NULL ));\rfor (i=O;i<ARRAY_SIZE;i++) {\rx[i]=getrand(l,l 00);\r}\rcout"x[]:H;\rput_array(x,ARRAY_SIZE);\rP?Zx Ôkmax_element()p\nV/0\rint *pMax=max_element(x,x+ARRAY_SIZE);\rcout"pMax =',pM axendl;\rcout"Location="(pMax-x)endl;\rcoutn*pMax =',(*pM ax)endl;\rP?Zx Ôkmin_elemenl()p\nV/0\rint *pMin=min_element(x,x+ARRAY_SIZE);\rcoutnpMin ="pM inendl;\rcout"Location=,,(pMin-x)endl;\rcoul" *pMin ="(*pMin)endl;