Computer Science, asked by saurabhsunil5547, 4 days ago

write a c++ program to display 2 dimensional matrix using function

Answers

Answered by aniket1234549
0

Explanation:

C++ Program to Add Two Matrix Using Multi-dimensional Arrays

This program takes two matrices of order r*c and stores it in a two-dimensional array. Then, the program adds these two matrices and displays them on the screen.

To understand this example, you should know about the following C++ programming topics:

C++ Multidimensional Arrays

C++ Arrays

In this program, the user is asked to enter the number of rows r and columns c. The value of r and c should be less than 100 in this program.

The user is asked to enter elements of two matrices (of order r*c).

Then, the program adds these two matrices, saves them in another matrix (two-dimensional array) and displays them on the screen.

Similar questions