Page 1 of 1

Exercise#4: Write a program that performs the following: a. Declare an array called arrayA holds integer numbers, the si

Posted: Sat May 14, 2022 6:45 pm
by answerhappygod
Exercise 4 Write A Program That Performs The Following A Declare An Array Called Arraya Holds Integer Numbers The Si 1
Exercise 4 Write A Program That Performs The Following A Declare An Array Called Arraya Holds Integer Numbers The Si 1 (21.76 KiB) Viewed 38 times
using Java netbeans 12.6
Exercise#4: Write a program that performs the following: a. Declare an array called arrayA holds integer numbers, the size of the array is entered by the user. b. A method called fillArray(...) of type void to fill the array with a set of generated random integers c. A method called printArray (...) of type void to display the elements of the array 5 elements per lines. d. A method called count (...) of type integer to count and return the number of integers greater than a value enter by the user e. A method called aboveAverage(...) of type integer that finds and returns how many numbers in arrayA are above the average of the array numbers