Question: reate a program named IntegerFacts whose Main ( ) method declares an array of ten integers. Call a method named FillArray to interactively fill the
reate 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 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:
The array has values
The highest value is
The lowest value is
The sum of the values is
The average is
The inputs were and
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
