subject

Create a program named IntegerFacts whose Main() method declares an array of ten integers. Call a method named FillArray to interactively fill the array with any number of values up to ten or until a sentinel value (999) is entered. If an entry is not an integer, re-prompt 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: 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 The inputs were 1, 11, and 999 Grading When you have completed your program, click the Submit button to record your score.

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 11:00, simbupls
Technician a says that the radiator usually cools better if the front air dam is removed. technician b says that when a condenser has a leak it can be repaired easily with epoxy. who is correct?
Answers: 1
image
Computers and Technology, 24.06.2019 12:30, coursonianp8izbc
Do you think media is stereotype ? and why?
Answers: 1
image
Computers and Technology, 24.06.2019 16:00, deepunalli300p3ur3i
Your is an example of personal information that you should keep private.
Answers: 2
image
Computers and Technology, 24.06.2019 16:30, magalya01
Which program can damage your computer?
Answers: 1
You know the right answer?
Create a program named IntegerFacts whose Main() method declares an array of ten integers. Call a me...

Questions in other subjects:

Konu
Mathematics, 06.05.2020 01:13
Konu
Mathematics, 06.05.2020 01:13