I have a problem with my homework

I need a function that receives two arrays of numeric values: one of dimensions m × n and one of dimensions n × p and calculates the multiplication of both arrays.

For example:

This post was flagged by the community and is temporarily hidden.

Perhaps too late here, too. But in the future, please don't post a full solution to homework.

While I appreciate your help, homework is for students to do. If they are stuck, we can help guide them to get them unstuck, given what they have done so far.

However, we should not do homework for them. Submitting a solution that they don't come up with themselves is probably violating academic integrity anyway, so it won't be helpful to them.