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 17:00
Aisha has finished working on a word processing document that contains 15 pages. she has added some special elements in the first three pages, page 9 and 10, and page 15 from the document. she wants to print only these pages to see how they look. which option is the correct way to represent (in the print dialog box) the pages that aisha wants to print
Answers: 3
question
Computers and Technology, 23.06.2019 04:31
This graph compares the cost of room and board at educational institutions in texas.
Answers: 1
question
Computers and Technology, 23.06.2019 21:40
Draw the resistor’s voltage and current phasors at t=15ms. draw the vectors with their tails at the origin. the orientation of your vectors will be graded. the exact length of your vectors will not be graded.
Answers: 2
question
Computers and Technology, 24.06.2019 00:30
The best definition of an idiom is a. a word or phrase that describes a noun b. a word or phrase describing a verb c. a phrase containing figurative language in which the word expresses a different idea from its exact meaning d. a phrase that compares two unlike objects or ideas
Answers: 2
You know the right answer?
Create a program named integerfacts whose main() method declares an array of 10 integers.
call...
Questions
question
Mathematics, 02.03.2021 16:50
question
Health, 02.03.2021 16:50