Purchase Solution

C++ program operations on two matrices 3x3

Not what you're looking for?

Ask Custom Question

Create a program that performs multiplication and addition on a matrix. See attached file for full problem description.

Attachments
Purchase this Solution

Solution Summary

The attached C++ source code contains definition of two 3x3 matrices and several functions that will perform various operations on these matrices such as Transpose, Addition, Subtraction, Multiplication. The sample results after each operation are displayed.

Solution Preview

Dear Student, please find attached the C++ source code (main.cpp). The code is simple to follow. The two matrices are definedin two dimensional arrays 3x3:
int matrixA[3][3]
int matrixB[3][3]

There are several functions:
display() - to display a matrix
transpose() - to transpose a ...

Purchase this Solution


Free BrainMass Quizzes
Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Javscript Basics

Quiz on basics of javascript programming language.

C# variables and classes

This quiz contains questions about C# classes and variables.