Answered step by step
Verified Expert Solution
Question
1 Approved Answer
OBJECTIVES This project will make you prafessional in dealing with Java statements, specifically seleation statements, loops, files, arrays, and methods. GUIDELINES You must make documentation
OBJECTIVES
This project will make you prafessional in dealing with Java statements, specifically seleation statements, loops, files, arrays, and methods.
GUIDELINES
You must make documentation by using comments to easily understand the code after a break.
DEADLINE
Deadtine for this project and report is : PM on
Students who choose to take the exam facetoface should discuss the project on time.
PROJECT Description
Write a program that performs arithmetic operations on matrices. Given two matrices A and B you are given a list of queries to answer. A query will be one of the following:
SUMAB
:
sUBTAB
SUBTBA
@
MULAB
@
MULBA
Transpose A
Transpose B
Your task is to write a program which answers these queries.
IPage
INPUT
Your program will be tested on one or more test cases. The first line of the input will be a single integer the number of test cases After that follow the specifications of test cases. Each test case starts with a line containing integers separated by a single space N M Nt M representing the dimensions of the matrix A followed by N lines containing M integers separated by spaces. The th number in the th tine is the number in the cell i in the matrix. A Followed by a line contains integers separated by a single space
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started