This prpgram seems to be easy but I couldn't do it!!! so please help me
thank you
Write a program that populates a two-dimensional array in main, sums up the values
of the cells in the array using a second function; and finally prints out the value of the
sum.
1. In the main function: declare a local two-dimensional array with pre-defined
dimensions (HEIGHT, WIDTH)
2. In the main function: populate the two-dimensional array in any manner you
choose
3. Declare a function that takes as parameter the two-dimensional array
populated within the main function. This function should sum all the cells of
the two-dimensional array and return the sum to the main program.
4. The main program should print the sum (returned by the function).