What is an example of a function I would use to find the average value if I have an array of known size?
i.e.
any ideas? I know this is probably super easy...Code:const int LENGTH = 5; double a[LENGTH] = {1,5,6,8,10}; double avg; double sum;
thanks