Question: I'm having some trouble with my computer science homework. There is a question at the end that I need help figuring out what to do.

I'm having some trouble with my computer science homework. There is a question at the end that I need help figuring out what to do. This is the question I'm having the most trouble with,

If you could just point me in the right direction on this and show how it done so I understand, that would be greatly appreciated. Java please.

I'm having some trouble with my computer science homework. There is a

Write a method named methodForFun that accepts a two dimensional array as parameter. This method will find the max and min element in a two dimensional array. After that, if will set the values of odd row to max, and set the values of even row to mean. For example, if we have a two dimensional array named twoDArray ={{1,2,3},{4,5,6}}, by passing twoDArray to your methodForFun method, twoDArray = {{6,6,6},{1,1,1}}. If the two dimensional array is empty, return 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!