for (k=0; k<M; k++)
for (i=0; i<N; i++){
c[i][k]=0.0;
for(j=0;j<P;j++)
c[i][k]+ =a[i][j]*b[j][k];
I have implemented the above sequential matrix-matrix multiplication algorithm, but i'm not sure about implementing a method to display the output to verify that the algorithm works as expected.