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

- Google Penguin 3.0 Launched
- examples for overloading and overriding
- Sending data using bluetooth in android
- inventory System of Medical Store
- inventory System of Medical Store
- inventory System of Medical Store
- inventory System of Medical Store
- LOG4J
- DOS ATTACK
- which query will be run for previous(button) question