A class ArrayMax contains a square matrix which finds the largest element in each row.
Some of the members of the class are given below:
Class name : ArrayMax
Data member/instance variable:
arr[ ][ ] : array to store integer elements
m : to store the order of the matrix
Member functions/methods:
ArrayMax( int mm) : parameterized constructor to initialize the data
member m=mm and to declare the array
void readarray() : to accept the array elements
void large( ) : finds and displays the largest element in each row
with an appropriate message
void display() : displays the array elements in matrix form
Specify the class ArrayMax, giving the details of the constructor( ), void readarray( ),
void large( ) and void display( ). Define the main( ) function to create an object and call
the functions accordingly to enable the task.
Answers
Answered by
1
Answer:
please don't know what is the answer
Similar questions
Computer Science,
3 months ago
Math,
3 months ago
English,
7 months ago
English,
1 year ago
Biology,
1 year ago