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 22:00
Researchers measured the data speeds for a particular smartphone carrier at 50 airports. the highest speed measured was 78.1 mbps. the complete list of 50 data speeds has a mean of x overbarequals16.11 mbps and a standard deviation of sequals18.65 mbps. a. what is the difference between carrier's highest data speed and the mean of all 50 data speeds? b. how many standard deviations is that [the difference found in part (a)]? c. convert the carrier's highest data speed to a z score. d. if we consider data speeds that convert to z scores between minus2 and 2 to be neither significantly low nor significantly high, is the carrier's highest data speed significant? a. the difference is nothing mbps.
Answers: 3
question
Computers and Technology, 24.06.2019 14:30
When workers demonstrate patience, are able to manage there emotions, and get along with other employees, which skills are being displayed?
Answers: 1
question
Computers and Technology, 24.06.2019 15:30
How do i change the size of my bookmarks in my bookmarks bar in google chrome? ? plz hlp me
Answers: 2
question
Computers and Technology, 24.06.2019 17:30
Which computer network component connects two different networks together and allows them to communicate? a is a node (or a device) that connects two different networks together and allows them to communicate.
Answers: 2
You know the right answer?
Create a program named IntegerFacts whose Main() method declares an array of 10 integers.

Questions
question
Mathematics, 07.07.2019 10:00
question
Mathematics, 07.07.2019 10:00
question
Mathematics, 07.07.2019 10:00
question
Mathematics, 07.07.2019 10:00
Questions on the website: 13722360