[Solved] Query regarding calculation of average of some numbers program
You dont need to take extra array for your purpose, you can do this just by adding each input value and then divide that total with total number of input items. double total = 0; double result; Console.Write(“For how many numbers you want to do the average calculation: “); int a = int.Parse(Console.ReadLine()); for (int … Read more