Question: Using c++ write the code for the matrices for each problem. 4 questions. Attached is the .txt file for matrix 1 & 2. Write a
Write a C++ program to find the product matrix, the transpose matrix and sum of each column of two matrices. Here are the steps: 1. Read two 4*4 matrices 'matrix1' and 'matrix2' from two tab delimited text files named 'matrix1'.txt and 'matrix2'.txt and show them on the console trixl: 1 2 3 4 5 6 7 7 8 1 2 3 4 5 6 7 Matrix2: 1 2 3 4 5 6 7 8 90 0 0 2. Write a function to perform the product of the two inputted matrices. Void FunctionProduct (int matrix1[4][4], int matrix2[4][4]) //write your code here Output: PRODUCT Matrix1 x Matrix2: 38 14 17 20 98 46 57 68 31 22 31 40
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
