Skip to content

SejalCh/2D-Array-Matrices-in-CPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2D-Array-Matrices-in-CPP

##AIM: To study about 2D-Array/Matrices in C++

##THEORY:

In C++, we can create an array of an array, known as a multidimensional array.Instead of having just a row or column (like in array), 2D array consists a net of rows and columns. It is also known as matrix/matrices.It consists of elemets which are nothing but values of any data type.
Various operations that can be performed on matrices are:
1.sum of matrices
2.multiplication of matrices
3.tranpose of a matrix.

To compute the matrices we first need to iterate it in certain range using for loop and then type the command we want it to perform.

##Syntax:
(data type)(variable name)([x][y]); where x and y represents the no. of rows and columns respectively.

A matrix:
Screenshot 2023-10-10 160124

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages