0% found this document useful (0 votes)
36 views6 pages

Lab 3 - Addition, Multiplication, Cummutative - Sam Prince Franklin - 20MIS1115

The document discusses a lab assignment involving adding, multiplying, and checking the commutative property of two matrices by getting element inputs from users and outputting the results.

Uploaded by

Sam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views6 pages

Lab 3 - Addition, Multiplication, Cummutative - Sam Prince Franklin - 20MIS1115

The document discusses a lab assignment involving adding, multiplying, and checking the commutative property of two matrices by getting element inputs from users and outputting the results.

Uploaded by

Sam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Programming In Java (SWE1007)

Sam Prince Franklin K


20MIS1115

Lab 3
Addition, Multiplication, Commutative Check of Two Matrices
1. Get the elements of two matrices from the user and add them.
Programming In Java (SWE1007)

Sam Prince Franklin K


20MIS1115

Output:
Programming In Java (SWE1007)

Sam Prince Franklin K


20MIS1115

2. Get the inputs from the user for two matrices and Multiply them.
Programming In Java (SWE1007)

Sam Prince Franklin K


20MIS1115

Output:
Programming In Java (SWE1007)

Sam Prince Franklin K


20MIS1115

3. Check the commutative property of Matrices.


Programming In Java (SWE1007)

Sam Prince Franklin K


20MIS1115

Output:

You might also like