Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are required to develop a piece of C++ program to perform the Matrix algebra as stated below: 1. Addition & Subtraction 2. Multiplication 3.

You are required to develop a piece of C++ program to perform the Matrix algebra as stated below:

1. Addition & Subtraction

2. Multiplication

3. Trace

4. Transpose

You program should prompt user to select the Matrix algebra they wish to perform and input the corresponding Matrices to calculate. As a general guideline, 1. You should use a double array to represent the Matrix if possible, if you are not using array make sure to display results as Matrix. 2. Check the conditions before performing the algebra, especially matrix dimension compatibility. 3. You need to show test cases that demonstrate your program works to perform the algebra and also capture any exceptions. For some example of test cases, use your program to solve some real-life problems involving matrix algebra as shown below:

image text in transcribed

In Dev C++ program

Case 2 Given the individual assessment results of 3 students and the allocation percentage of each assessment for the course, calculate the total marks of each students for the course. Student A B Quiz 80 75 92 Assignment 89 80 85 Project 100 85 78 Exam 92 72 88 Assessment Quiz Assignment Project Exam Allocation Percentage 10 % 10 % 20 % 60 %

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle PL/SQL Programming Database Management Systems

Authors: Steven Feuerstein

1st Edition

978-1565921429

More Books

Students also viewed these Databases questions

Question

1. How will you, as city manager, handle these requests?

Answered: 1 week ago