
#include <iostream>

#include <iomanip>

#include <conio.h>

#include <math.h>

using namespace std;

int main()

{

const int n = 5, m = 6;

int a[n][m] = {{1, 2, -3, 4, 5, 6},

{3, 0, 3, 3, 3, 2},

{1, -12, 1, 4, 5, 8},

{1, 7, 8, -1, 2, -3},

{2, 2, 2, 2, 2, 15}};

int i, j;

for (i = 0; i < n; i++)

{

for (j = 0; j < m; j++)

cout << setw(4) << a[i][j];

cout << endl;

}

//Определить количество строк, не содержащих ни одного нулевого элемента;

bool bl;

int kol = 0;

for (i = 0; i < n; i++)

{

bl = true;

for (j = 0; j < m; j++)

if (a[i][j] == 0) { bl = false; break;}

if(bl) kol++;

}

if(kol) cout << "Kol string: " << kol << endl;

else cout << "String not" << endl;





 