#include
#include
using namespace std;
class matrix{
int a, b, c, d, e, f, g, h;...
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 01.07.2021 14:00 yuppcami9929
#include
#include
using namespace std;
class matrix{
int a, b, c, d, e, f, g, h;
public:
matrix(int u, int v, int w, int z, int x, int y, int k, int i, int j){
a=u;
b=v;
c=w;
d=z;
e=x;
f=y;
g=k;
h=j;
}
void get_data(){
cout<<"Enter R11 of matrix 1"< >a;
cout<<"Enter R12 of matrix 1"< >b;
cout<<"Enter R21 of matrix 1"< >c;
cout<<"Enter R22 of matrix 1"< >d;
cout<<"Enter R11 of matrix 2"< >e;
cout<<"Enter R12 of matrix 2"< >f;
cout<<"Enter R21 of matrix 2"< >g;
cout<<"Enter R22 of matrix 2"< >h;
}
void show(){
cout<
cout<
}
void mul(){
cout<
cout<
}
};
int main(){
matrix obj;
obj. get_data();
obj. show();
obj. mul();
return 0;
}
This code has error. but I can't understand the mistake, So, correct it with suitable reason.
![ansver](/tpl/images/cats/User.png)
Answers: 2
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 00:00
What engine component is shown in the above figure?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 05:00
Jason works as an accountant in a department store. he needs to keep a daily record of all the invoices issued by the store. which file naming convention would him the most?
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 09:20
How to print: number is equal to: 1 and it is odd number number is equal to: 2 and it is even number number is equal to: 3 and it is odd number number is equal to: 4 and it is even number in the console using java using 1 if statement, 1 while loop, 1 else loop also using % to check odds and evens
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 09:30
Name the range function that would generate the following list of integers values: 0,1,2,3,4,5.
Answers: 1
You know the right answer?
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 05.04.2021 16:20
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
History, 05.04.2021 16:30
![question](/tpl/images/cats/mat.png)
Mathematics, 05.04.2021 16:30
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 05.04.2021 16:30
![question](/tpl/images/cats/mat.png)
Mathematics, 05.04.2021 16:30
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 05.04.2021 16:30
![question](/tpl/images/cats/mat.png)
Mathematics, 05.04.2021 16:30
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 05.04.2021 16:30
![question](/tpl/images/cats/mat.png)
Mathematics, 05.04.2021 16:30
![question](/tpl/images/cats/mat.png)