subject

Create a program named integerfacts whose main() method declares an array of 10 integers.
call a method named fillarray to interactively fill the array with any number of values up to 10 or until a sentinel value (999) is entered. if an entry is not an integer, reprompt the user.

call a second method named statistics that accepts out parameters for the highest value in the array, lowest value in the array, sum of the values in the array, and arithmetic average.
in the main() method, display all the statistics in the following format: note: the inputs were 1, 11, and 999
the array has 2 values
the highest value is 11
the lowest value is 1
the sum of the values is 12
the average is 6
using static system. console;
class integerfacts{ static void main() { // write your main here } public static int fillarray(int[] array) { } public static void statistics(int[] array, int els, out int high, out int low, out int sum, out double avg) { } }

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 04:00
Which of the following kinds of programs displays an online advertisement in a banner or pop-up window on webpages, email, or other internet service? e
Answers: 2
question
Computers and Technology, 22.06.2019 10:30
How can a user open a blank presentation? 1.on the file menu, click new, and then click recent templates 2.on the file menu, click new, and then click blank presentation 3. on the view menu, click templates, and then click recent templates 4. on the view menu, click samples, and then click blank presentation
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
Ramona enjoys her job because she is able to kids in an after school program. the work value ramona feels strongest about is a. leadership b. risk c. independence d. work with people select the best answer from the choices provided a b c d
Answers: 1
question
Computers and Technology, 24.06.2019 18:00
Hacer un algoritmo que me permita ingresar el nombre de una parcela de terreno y muestre junto al mensaje “tipo de suelos: suelos fumíferos, ¡excelente!
Answers: 1
You know the right answer?
Create a program named integerfacts whose main() method declares an array of 10 integers.
call...
Questions
question
Physics, 06.07.2021 22:10
question
Social Studies, 06.07.2021 22:10
Questions on the website: 13722363