Comment

bubbles

October 20, 2008 at 11:19 AM

**how can i do this? please help me!**

create a java program that will text 2 matrices and provide an operatino depending on the elements. the program create a new set of matrix

containing the answer. display matrix 1 & 2 & matrix answer.

condition:

1. if matrix 1 element is even and matrix 2

element is even, it will perform multiplication.

2. if matrix 1 element is odd and matrix 2

element is odd. it will perform subtraction.

3. if matrix 1 element is even and matrix 2

element is odd. it will perform addition.

4. if matrix 1 element is odd and matrix 2

element is even, it will perform division by integer.

sample:

5 2 1 8 9 11 0 11 10

6 3 2 13 10 0 = 19 0 0

0 1 7 12 2 1 0 0 0

View All Comments | View Tutorial

create a java program that will text 2 matrices and provide an operatino depending on the elements. the program create a new set of matrix

containing the answer. display matrix 1 & 2 & matrix answer.

condition:

1. if matrix 1 element is even and matrix 2

element is even, it will perform multiplication.

2. if matrix 1 element is odd and matrix 2

element is odd. it will perform subtraction.

3. if matrix 1 element is even and matrix 2

element is odd. it will perform addition.

4. if matrix 1 element is odd and matrix 2

element is even, it will perform division by integer.

sample:

5 2 1 8 9 11 0 11 10

6 3 2 13 10 0 = 19 0 0

0 1 7 12 2 1 0 0 0

View All Comments | View Tutorial

Related Tutorial and Articles

Advertisements
Advertisements

- Go Programming Language
- How to set placeholder in uitextfield programmatically?
- Example code of adding placeholder in UItextFeild
- Fix Scrollbar position in a checkboxList after postback
- solution for mapping hibernate and pojos from net beans through database
- java
- Information Save Alert
- program explination
- create plugins to detect suspicious ajax
- output variable