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 03:00
Which action describes an aspect of technological design?
Answers: 1
question
Computers and Technology, 22.06.2019 09:00
Howard is designing a chair swing ride. the swing ropes are 5 meters long, and in full swing they tilt in an angle of 29° outside chairs to be 2.75 m above the ground in full swing.
Answers: 1
question
Computers and Technology, 22.06.2019 16:30
Technician a says that a dry sump system uses no oil storage sump under the engine. technician b says that a wet sump system uses no oil storage sump under the engine. who is correct?
Answers: 3
question
Computers and Technology, 23.06.2019 04:00
Another name for addicting games.com
Answers: 1
You know the right answer?
Create a program named integerfacts whose main() method declares an array of 10 integers.
call...
Questions
question
Social Studies, 05.03.2021 17:30
question
Mathematics, 05.03.2021 17:30
question
Social Studies, 05.03.2021 17:30
question
History, 05.03.2021 17:30
question
Mathematics, 05.03.2021 17:30
Questions on the website: 13722367