Computer Science, asked by nabeel42, 4 months ago

Write a program that creates a two-dimensional integer array (4x3) initialized with user given

data. The program should have the following functions:

 Print the sum of all values in the array.

 Print the average of all the values in the array.

 Take row number from user and print the sum of the values in that specified row.

 Take column number from user and print the sum of the values in that specified column.

 Take row number from user and print the highest value in that specified row.

 Take row number from user and print the lowest value in that specified row.

 Take the transpose of array and print it.​ in c++​

Answers

Answered by Mbappe007
1

Answer:

A program that creates a two-dimensional integer array (4x3) initialized with user given

data. The program should have the following functions:

 Print the sum of all values in the array.

 Print the average of all the values in the array.

 Take row number from user and print the sum of the values in that specified row.

 Take column number from user and print the sum of the values in that specified column.

 Take row number from user and print the highest value in that specified row.

 Take row number from user and print the lowest value in that specified row.

 Take the transpose of array and print it. in c++

Similar questions