Matrices with Full Storage with dynamic Memory Allocation

Modify the previous program such that: