#include
#include "stdlib.h"
#include "time.h"
int main(void){
char a[100],i,maxi,t;
srand((unsigned)time(NULL));
for(t=maxi=i=0;i<100;i++){
printf(++t%20 ? "%3d" : "%3d\n",a[i]=rand()%100);
if(a[maxi] maxi=i;
}
printf("The MAX is %d\n",a[maxi]);
return 0;
}