Question: Complete the following C# code that includes a method named Average() that accepts any number of numeric parameters, displays them, calculates, and displays their average.

Complete the following C# code that includes a method named Average() that accepts any number of numeric parameters, displays them, calculates, and displays their average. Demonstrate that the method works correctly when passed one, two, or three numbers, or an array of numbers. (3 marks) using static System.Console; public class Averages { public static void Main() { // Your code as answer } }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
