Create a program that add two 2D-Arrays. Prompt the user to input dimensions for row and column for the 1st matrix. Prompt the user to input dimensions for row and column for the 2nd matrix. (Note:...


Write a c++ program


Create a program that add two 2D-Arrays.<br>Prompt the user to input dimensions for row<br>and column for the 1st matrix.<br>Prompt the user to input dimensions for row<br>and column for the 2nd matrix. (Note:<br>Matrices can only be added if both matrices<br>has the same dimension. Example: 2x3 and<br>4x3 matrix cannot be added together)<br>• If the dimensions of the matrices are not<br>equal, prompt the user to input the<br>dimensions again.<br>• Once equal dimensions are inputted, the<br>system must prompt the user to input<br>elements of the 1st matrix and elements for<br>the 2nd matrix. (Do not forget to put labels.)<br>• The elements should be displayed in matrix<br>form.<br>The system should then output the sum of<br>the matrices in matrix form as well.<br>

Extracted text: Create a program that add two 2D-Arrays. Prompt the user to input dimensions for row and column for the 1st matrix. Prompt the user to input dimensions for row and column for the 2nd matrix. (Note: Matrices can only be added if both matrices has the same dimension. Example: 2x3 and 4x3 matrix cannot be added together) • If the dimensions of the matrices are not equal, prompt the user to input the dimensions again. • Once equal dimensions are inputted, the system must prompt the user to input elements of the 1st matrix and elements for the 2nd matrix. (Do not forget to put labels.) • The elements should be displayed in matrix form. The system should then output the sum of the matrices in matrix form as well.

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here