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, 21.06.2019 19:30
Asalesman at a high end computer security firm want to sell you a proactive cover for your passport, which contains an rfid tag inside storing your sensitive information. the salesperson's solution cost only $79.99 and protects your passport from being read via radio waves while it is in your pocket. explain how you can achieve the same thing under $3.00
Answers: 3
question
Computers and Technology, 22.06.2019 17:30
Rachel completed typing an official document with a word processing program. she wants to make sure that her document has no typographical errors. she also wants all headings to have the same font. which features in a word processing program should she use? rachel should use the feature in a word processing program to find typographical errors. she should apply to have uniform headings.
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
Rafael needs to add a title row to a table that he has inserted in word. what should he do? use the alignment options. use the merge and center option for all the cells in the top row. use the merge and center option on the first two cells in the top row. none of the above
Answers: 3
question
Computers and Technology, 23.06.2019 09:50
Allison and her group have completed the data entry for their spreadsheet project. they are in the process of formatting the data to make it easier to read and understand. the title is located in cell a5. the group has decided to merge cells a3: a7 to attempt to center the title over the data. after the merge, allison points out that it is not centered and looks bad. where would the title appear if allison unmerged the cells in an attempt to fix the title problem?
Answers: 2
You know the right answer?
Create a program named IntegerFacts whose Main() method declares an array of 10 integers.

Questions
question
Mathematics, 02.02.2020 18:03
question
Mathematics, 02.02.2020 18:03
question
Mathematics, 02.02.2020 18:03
question
History, 02.02.2020 18:03
Questions on the website: 13722360