Tag: 21114

Assume you are given a boolean variable named isNegative and a 2-dimensional array of ints that has been created and assigned to a2d. Write some statements that assign true to isNegative if more integer elements in entire 2-dimensional array are negative than not.

Assume you are given a boolean variable named isNegative and a 2-dimensional array of ints that has been created and assigned  to a2d. Write some statements that assign true to isNegative if more integer elements in entire 2-dimensional array are negative than not.

LANGUAGE: JAVA CHALLENGE: Assume you are given a boolean variable named isNegative and a 2-dimensional array of ints that has been created and assigned to a2d. Write some statements that assign true to isNegative if more integer elements in entire 2-dimensional array are negative than not.

Read More