A function can take a matrix as a parameter, written m: Integer[,]. Here the table is filled and printed by functions and its sum is returned by another. Choose the language of the code and step into the functions.

Algorithm Table with functions