subject
Engineering, 06.05.2020 05:37 kyleee1991

Write a C Program to work with a matrix. Your program must ...

ask a user for the size of a matrix to be read in where the largest allowable size is 10x10
read in the matrix entries as integers
use the given user defined function to check to see if the entered matrix is an identity matrix
int identityMatrix (int matrix[10][10], int rowM, int colM); //returns a 1 if an identity matrix 0 otherwise

print the matrix and whether or not the matrix entered is the identity matrix
loop until the user wants to quit
Note: An identity matrix is a square matrix with 1’s along the diagonal from upper left to lower right and 0’s in all other positions.

ansver
Answers: 1

Another question on Engineering

question
Engineering, 03.07.2019 14:10
Explain the difference laminar and turbulent flow. explain it with the shear stress and the velocity profiles.
Answers: 1
question
Engineering, 04.07.2019 16:10
An electrical motor raises a 50kg load at a construct velencity .calculate the power of the motor, if it takes 40sec to raise the load through a height of 24m(take g =9.8n/g)
Answers: 2
question
Engineering, 04.07.2019 18:10
Refrigerant 134a enters an insulated compressor operating at steady state as saturated vapor at -26°c with a volumetric flow rate of 0.18 m3/s. refrigerant exits at 9 bar, 70°c. changes in kinetic and potential energy from inlet to exit can be ignored. determine the volumetric flow rate at the exit, in m3/s, and the compressor power, in kw.
Answers: 1
question
Engineering, 04.07.2019 18:10
The thermal expansion or contraction of a given metal is a function of the f a)-density b)-initial temperature c)- temperature difference d)- linear coefficient of thermal expansion e)- final temperature f)- original length
Answers: 2
You know the right answer?
Write a C Program to work with a matrix. Your program must ...

ask a user for the size o...
Questions
question
Chemistry, 28.04.2021 20:40
question
Mathematics, 28.04.2021 20:40
question
Mathematics, 28.04.2021 20:40
Questions on the website: 13722362