#include #include #include int main() { int i; int max; int tab[10]; srand(time(NULL)); for (i=0;i<10;i++){ tab[i]=((rand()%101)-50); } printf("+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+\n"); max=tab[0]; for (i=0;i<10;i++){ printf("| %3d ",tab[i]); if (max