This C++ program allows the user to input a 2D array (matrix) and calculates the multiplication of all its elements. The program first asks the user for the number of rows and columns, then prompts ...
The array can be shown as 5 groups of 3 showing that 5 x 3 = 15. Or it could be shown as 3 groups of 5 showing that 3 x 5 = 15. This demonstrates that multiplication is commutative. Image caption, ...