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, 22.06.2019 22:30
Who needs to approve a change before it is initiated? (select two.) -change board -client or end user -ceo -personnel manager -project manager
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
What type of slide show is a dynamic and eye-catching way to familiarize potential customers with what your company has to offer? a. ole b. photo album c. brochure d. office clipboard
Answers: 2
question
Computers and Technology, 23.06.2019 16:00
Kenny works with an it company. his company is about to launch new software in the market. he has to ensure that this new software is functional and meets all of the quality standards set up at the planning stage. which job profile is kenny likely to have? kenny is likely to have the job profile of a blank .
Answers: 2
question
Computers and Technology, 23.06.2019 19:00
Whose task it is to ensure that the product flows logically from one step to another?
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
question
Mathematics, 01.10.2021 14:40
question
Mathematics, 01.10.2021 14:40
question
Mathematics, 01.10.2021 14:40
question
Mathematics, 01.10.2021 14:40
question
Mathematics, 01.10.2021 14:40
question
English, 01.10.2021 14:40
question
Mathematics, 01.10.2021 14:40