Free help with homework

Why join Brainly?

  • ask questions about your assignment
  • get answers with explanations
  • find similar questions


Code for Program to add, subtract and multiply matrix in C++ Programming#include <iostream.h> #include <iomanip.h> #include <conio.h> #include "matrix.cpp"// included in zipvoid main() { int choice; matrix obj; while(1){ clrscr(); cout<<"\t\tMATRIX OPERATIONS\n\n"; cout<<"\t\t1) Addition\n"; cout<<"\t\t2) Subtraction\n"; cout<<"\t\t3) Multiplication\n"; cout<<"\t\t4) Exit\n"; cout<<"\t\tEnter your Choice : "; cin>>choice; switch(choice){ case 1 : obj.matAdd(); break; case 2 : obj.matSub(); break; case 3 : obj.matMul(); break; case 4 : gotoout; default: cout<<"\n\n\t\tInvalid Choice\n\n"; getch(); break; } } out: }
0 0 0
Take matrix1. And matrix2 matrix 3=a[I][j]+b[I][j]; matrix m[I][j]+=a[I][k]+b[k][j]
0 0 0
The Brain
  • The Brain
  • Helper
Not sure about the answer?
Learn more with Brainly!
Having trouble with your homework?
Get free help!
  • 80% of questions are answered in under 10 minutes
  • Answers come with explanations, so that you can learn
  • Answer quality is ensured by our experts