Write a program that lets the user to enter datain a 4 X 3 matrix of integers, and then determine and return the largest element exist in the desired row.The program calls the following functions, which you have to implement:
getData – accept a matrix with its size and fill it with the data entered by the user.
display – accept a matrix with its size and display its contents on the screen.
getLargetsInRow – accept a matrix with its size and a third parameter which indicates the row index. The function should return the largest of all the values in the specified row

Member Avatar


Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.