Main problem:
Count the number of zero values for each row in the two dimensional array with size n x m (n – number of rows, m – number of columns).
Array and size of array is the input data to the algorithms.
Input: n, m, Array
Output: Counts
Tasks:
1) A user enters size of array: n and m (integer,
positive).
2) Declare a two-dimensional dynamic array of
integer with size n – number of rows and m –
number of columns.
3) Fill the array with random integer numbers
between -3 and 3, inclusive.
4) Display array values to the screen as a table.
5) Using the developed algorithm write a code that
count the number of zero values for each row in
the two-dimensional array.
6) Display the calculated values to the screen.
И нужно к решению сделать алгоритм.