Showing posts with label addition of matrices using function. Show all posts
Showing posts with label addition of matrices using function. Show all posts

Monday, March 3, 2014

To find the sum of the matrix using function


In this program I have used the concept of finding the sum of the desired matrix using function. For  this the main concept that should be understood is how to pass array into function. I have given an example of 3*3 matrix. The user can make the program of any order using the given source code.
 For more idea have a look for the source code and the output which are given below:
The sample output is :

The main source code of the program is given below: