The document defines three 2D arrays to store the values of two matrices A and B and the product matrix C. It prompts the user to input the values of A and B, calculates the product of the two matrices by multiplying the elements and adding them, and displays the result.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
26 views
#Include Using Namespace Int Int Int Void Int
The document defines three 2D arrays to store the values of two matrices A and B and the product matrix C. It prompts the user to input the values of A and B, calculates the product of the two matrices by multiplying the elements and adding them, and displays the result.