subject

Write a user defined method named Upper-half() which takes a two dimensional array A, with size N rows and N columns as argument and prints the upper half of the array. e. g.,
2 3 1 5 0 2 3 1 5 0
7 1 5 3 1 1 5 3 1
2 5 7 8 1 The output will be 1 7 8
0 1 5 0 1 0 1
3 4 9 1 5 5

Answer in Java Language please

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:30
When using a public computer or network, you should always
Answers: 2
question
Computers and Technology, 23.06.2019 03:00
Jason, samantha, ravi, sheila, and ankit are preparing for an upcoming marathon. each day of the week, they run a certain number of miles and write them into a notebook. at the end of the week, they would like to know the number of miles run each day, the total miles for the week, and average miles run each day. write a program to them analyze their data. your program must contain parallel arrays: an array to store the names of the runners and a two-dimensional array of five rows and seven columns to store the number of miles run by each runner each day. furthermore, your program must contain at least the following functions: a function to read and store the runners’ names and the numbers of miles run each day; a function to find the total miles run by each runner and the average number of miles run each day; and a function to output the results. (you may assume that the input data is stored in a file and each line of data is in the following form: runnername milesday1 milesday2 milesday3 milesday4 milesday5 milesday6 milesday7.)
Answers: 3
question
Computers and Technology, 23.06.2019 15:30
The song about casey jones a railroad engineer who gives his life on the job would most likely gall under the folk song category of? a-work song b-nonsense song c-religious song d-ballad
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
What are loans to a company or government for a set amount of time
Answers: 1
You know the right answer?
Write a user defined method named Upper-half() which takes a two dimensional array A, with size N ro...
Questions
question
English, 18.10.2019 15:00
question
Mathematics, 18.10.2019 15:00
question
Mathematics, 18.10.2019 15:00
question
Mathematics, 18.10.2019 15:00
question
Mathematics, 18.10.2019 15:00