subject

Write a program that defines and initializes the elements of a m x n matrix, a, from the user. then calculate and prints the average for every row and for every column. for example, in the matrix: [5 4 11 21 2-2 12 1 -5 4 -5 0 average for row 0 is 10.25 average for row 1 is 3.25 average for row 2 is -1.5 average for column 0 is 3.7 average for column 1 is -1 average for column 2 is 7.7 average for column 3 is 5 hint: define m and n as cons int, and your program should work for any value of m and n

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 17:30
Data for which there is temporarily no room in ram is diverted to where on your computer? question 9 options: a) the paging file on the hard drive b) the system file on the hard drive c) the memory file on the hard drive d) the cpu cache
Answers: 2
question
Computers and Technology, 21.06.2019 22:40
State the parts of a variable declaration?
Answers: 2
question
Computers and Technology, 22.06.2019 19:20
Terri needs to insert a cover page into her document. where should she go to access the commands to do so? o insert tab, objects group o insert tab, illustrations group o insert tab, pages group o insert tab, media group submit
Answers: 1
question
Computers and Technology, 23.06.2019 01:30
Negative methods of behavior correction include all but this: sarcasm verbal abuse setting an example for proper behavior humiliation
Answers: 1
You know the right answer?
Write a program that defines and initializes the elements of a m x n matrix, a, from the user. then...
Questions
question
Mathematics, 02.10.2020 16:01
Questions on the website: 13722360