const int n = 11; int array[n]; for(int i = 1;i<n;i++) { array[i] = rand()%2; cout << setw(5) << array[i]; }
const int n = 11;
int array[n];
for(int i = 1;i<n;i++)
{
array[i] = rand()%2;
cout << setw(5) << array[i];
}