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 10:00
Create a word problem that involves calculating the volume and surface area of a three-dimensional object. cube: surface area 6 s2 , volume s3
Answers: 3
question
Computers and Technology, 23.06.2019 02:00
As with any small island country, cuba has fewer natural resources than countries such as brazil. this affects their economy in that cuba a) exports only manufactured products. b) exports more products than it imports.. c) must import more products than it exports. d) has imposed trade barriers against the united states.
Answers: 3
question
Computers and Technology, 23.06.2019 23:40
Which of the following calculates the total from the adjacent cell through the first nonnumeric cell by default, using the sum function in its formula? -average -autosum -counta -max
Answers: 1
question
Computers and Technology, 24.06.2019 13:20
3. ranga ramasesh is the operations manager for a firm that is trying to decide which one of four countries it should research for possible outsourcing providers. the first step is to select a country based on cultural risk factors, which are critical to eventual business success with the provider. ranga has reviewed outsourcing provider directories and found that the four countries in the table that follows have an ample number of providers from which they can choose. to aid in the country selection step, he has enlisted the aid of a cultural expert, john wang, who has provided ratings of the various criteria in the table. the resulting ratings are on a 1 to 10 scale, where 1 is a low risk and 10 is a high risk. john has also determined six criteria weightins: trust, with a weight of 0.3; quality, with 0.2; religious, with 0.1; individualism, with 0.2; time, with 0.1; and uncertainity, with 0.1. using the factor-rating method, which country should ranga select? why? (2 points)
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
Spanish, 06.10.2019 10:02
Questions on the website: 13722363