subject
Computers and Technology, 02.09.2019 18:10 LulPink

Write a program in java to find the maximum values in each row and column of a two-dimensional array of integers read from the user. first ask the user for the number of rows and columns, then allocate the two-dimensional array of that size. next read from the user each row of values, store them then output the maximum values for each row (horizontal) and column (vertical). can some one me in this program. in java sample 1 (user inputs are shown in bold italics) how many rows? 5 how many columns? 4 enter the values of row 0 separated by spaces 52 68 62 75 enter the values of row 1 separated by spaces 88 52 -84 -68 enter the values of row 2 separated by spaces -24 51 -67 82 enter the values of row 3 separated by spaces 14 78 61 97 enter the values of row 4 separated by spaces 67 -11 4 47 results: 52 68 62 75 [75] 88 52 -84 -68 [88] -24 51 -67 82 [82] 14 78 61 97 [97] 67 -11 4 47 [67] [88] [78] [62] [97]

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 08:00
The managing director of a company sends a christmas greeting to all his employees through the company email. which type of network does he use? he uses an .
Answers: 3
question
Computers and Technology, 23.06.2019 12:30
Animations and transitions are added from the
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
Where can page numbers appear? check all that apply. in the header inside tables in the footer at the bottom of columns at the top of columns
Answers: 1
question
Computers and Technology, 24.06.2019 04:10
Write a program that reads a set of floating-point values. ask the user to enter the values, then print • the average of the values. • the smallest of the values. • the largest of the values. • the range, that is the difference between the smallest and largest. of course, you may only prompt for the values once.
Answers: 3
You know the right answer?
Write a program in java to find the maximum values in each row and column of a two-dimensional array...
Questions
Questions on the website: 13722361