a) The first two numbers indicate the size of the matrix - rows, columns, the next numbers in the quantity being the product of the number of rows and columns are the elements of the matrix arranged in rows.
b) The next matrix is??Saved immediately after the previous one.
c) After each pair of matrices there is a text operator indicating what operation on
two preceding matrices should be made - valid values??Are +, -, *.
d) The input file can contain any number of operations on matrix pairs
by repeating blocks consisting of 2 matrices and an operator.
e) The program sequentially loads matrix pairs and performs the indicated operations by checking
at the same time whether they are possible. If the operation is impossible, it is printed
incorrect data message and the program continues working.
f) The program should be divided into functions, including the function (s) responsible for
performing calculations on matrices.
g) The result of subsequent operations is printed to the standard output in the same form
as used in the input file.