[Solved] Getting the average from a user entered array [duplicate]
Well you already have arrayLength, why not use that as your array size indicator? Also, your average routine will lose precision. You are returning double, but your code has everything as int. static void Main(string[] args) { Console.WriteLine(“enter the amount of numbers you would like to find the average and mean of: “); int arraylength … Read more