Purchase Solution

How do you create an application that would perform matrix addition?

Not what you're looking for?

Ask Custom Question

Create an application that would perform matrix addition. Each matrix must be three rows by three columns. The following is an example:

Store each matrix in an array.
The form must allow the user to input each element for both matrices.
The input must be done through text boxes, and the number of characters must be limited to two characters per text box.
Move the text box values to array(s). Then use looping logic to cycle through the array to perform the math.
By default, Matrix 1 would have the following value:
5, 2, 3
8, 32, 1
4, 9, 10

By default, Matrix 2 would have the following value:
2, 1, 3
9, 3, 2
6, 7, 20

Assign the Calculate button to the form's AcceptButton property.
Create a Clear button that will clear the result text box and reset all text boxes, controls, and internal variables used.
Create an Exit button.
Use labels to identify the input and output controls.

Purchase this Solution

Solution Summary

This solution is provided as a visual basic project in an attached .zip file.

Purchase this Solution


Free BrainMass Quizzes
Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Javscript Basics

Quiz on basics of javascript programming language.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

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.