subject

Help!! Will mark Brainliest!
A method is to be written to search a 2D array for a value that is larger than a given item and return its index. The problem specification does not indicate what should be returned if there are several values that are larger in the 2D array. Which of the following would be the best course of action?
a.)The method should be written assuming that there is only one value in the 2D array that is larger than the given item.
b.)The method should be written to output a message whenever more than one larger value is found.
c.) The method should be written to return the index of every occurrence of a larger value.
d.)After the first suitable index is returned, the method should be written to delete all later larger items.
e.)The specification should be modified to specify what should be done if there is more than one index with larger values

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:20
Ihave been given the number of guns per 100, and the total firearm-related deaths per 100,000. i have to find the actual number of guns per country and actual number of gun-related deaths. if somebody could show me how to do 1 question, i can finish the rest, i am just confused. tia
Answers: 3
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 18:00
Freya realizes she does not have enough in her bank account to use the debit card. she decides to use a credit card instead. which questions should freya answer before using a credit card? check all that apply. can i pay at least the minimum payment each month? can i make payments on time and avoid late fees? will i have to take out a loan? how much in finance charges can i afford to pay? should i talk to a consumer credit counseling service?
Answers: 1
question
Computers and Technology, 23.06.2019 21:00
Which task uses a simple parameter?
Answers: 1
You know the right answer?
Help!! Will mark Brainliest!
A method is to be written to search a 2D array for a value that i...
Questions
question
Mathematics, 23.06.2021 20:40
question
Social Studies, 23.06.2021 20:40
question
Mathematics, 23.06.2021 20:40
question
History, 23.06.2021 20:40
Questions on the website: 13722362