Need some help..

Recall an algorithm for computing the inner product of two vectors represented as one dimensional arrays.Suppose that this algorithm is implemented as a function that input arrays V1,V2 and their dimension k, and outputs their inner product. Write a pseudocode of an algorithm that input two matrices A[1..n,1..m] and B[1..m;1..p] and outputs their product. Your algorithm should call the function for computing the inner product.