Нужно написать код по конкретным кретериями, которые даны в задании,а так же создать алгоритм в виде блок-схемы .
Main problem:
Calculate the average value for each column 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: Average values
Task:
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 1 and 100, inclusive.
4) Display array values to the screen as a table.
5) Using the developed algorithm write a code that calculate the average value for each column in the two-dimensional array.
6) Display the calculated values to the screen.