Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need help with this in C# IntegerFacts.cs Instructions 1 using static Systen.Console; 2 class IntegerFacts 3 Create a program named IntegerFacts whose Main) method declares

image text in transcribed

Need help with this in C#

IntegerFacts.cs Instructions 1 using static Systen.Console; 2 class IntegerFacts 3 Create a program named IntegerFacts whose Main) method declares an array of 10 integers. static void Main() //Write your main here 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 7 public static int FillArray(int[] 10 array) public static void Statistics (intl] array, int els, out int high, out int low, out int sum, out double avg) 12 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 arrav, and arithmetic average 13 15 16 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 val The average is 6 ues is 12 Run Code Test Grade

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Databases And Information Systems 14th East European Conference Adbis 2010 Novi Sad Serbia September 2010 Proceedings Lncs 6295

Authors: Barbara Catania ,Mirjana Ivanovic ,Bernhard Thalheim

2010th Edition

3642155758, 978-3642155758

More Books

Students also viewed these Databases questions