Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write in C++ only Program 1 - Identity matrix - 5pts Read a natural number n fro

ID: 3668662 • Letter: W

Question

Write in C++ only

Program 1 - Identity matrix - 5pts Read a natural number n from console where neZ,n >1. Write a function that produces an identity matrix of size nXn and print i Program 2 - Upper triangular matrix - 5pts Read a 4X4 matrix 'A' from a tab delimited text file named A2.txt. Write a function that identifies if the input matrix , is an upper triangular matrix or not. The return type of the function will be boolean Example of A2.txt: 2 3 45 0 9 -1 5 -8 7 01 Hints: A square matrix is called upper triangular if al the entries below the main diagonal are zero. Program 3 - Matrix transpose - 5pts gram 3 - Matrix transpose 5pts Read a 4X4 matrix B' from a tab delimited text file named B3.txt. Write a function that computes the transpose of 'B and print the resultant matrix. Program 4 - Addition of matrices - 5pts Read two 4X4 matrices A' and B' from two tab delimited text files named A4.txt and B4.txt. Write a function that computes A B and print the resultant matrix. Program 5 - Join and Meet of Zero-One matrices 10pts Program 5 - Join and Meet of Zero-One matrices - 10pts Read two 4X4 zero-one matrices A' and B' from two tab delimited text files named A5.txt and B5.txt. Write a function that computes the join and meet of 'A' and 'B' and print the resultant matrices

Explanation / Answer

1)

2)

   }

3) All things remains same. only the last loop changes in the previous program.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote