Computer Science, asked by bhavanakodavali92, 1 year ago

Write a code to create a matrix and display it in c++

Answers

Answered by pk1834474
0

Answer:

hhhhdjr the country and will respond to this conversation talking about how do you like each other in and you are in

Answered by aakashgupta2308
0

Answer:

#include<iostream>

using namesspace std;

int main()

{

int arr1[3],arr[3],j,i,r,c;

cin>>r>>c;

for(i=0;i<r;i++)

{

for(.j=0;j<c;j++)

{

cin>>arr1[i]>>arr[j];

}

}

for(i=0;i<r;i++)

{

for(.j=0;j<c;j++)

{

cout<<arr1[i]<<arr[j];

}

}

cout<<arr1[i]+arr[j]

}

}

Explanation:

Similar questions