TinaC
Newbie level 1
Hi Everyone,
I currently trying to calculate the average for an array. So far, I have input the monthly incomes for a store. I put the 12 months into an array and now I need to find the average monthly income. For example, if the monthly income for Jan-Dec was 10,000, then the average of the 12 months should be 10,000. However, I cannot figure out the code to output the average. Can you all help me? Thank you.
I currently trying to calculate the average for an array. So far, I have input the monthly incomes for a store. I put the 12 months into an array and now I need to find the average monthly income. For example, if the monthly income for Jan-Dec was 10,000, then the average of the 12 months should be 10,000. However, I cannot figure out the code to output the average. Can you all help me? Thank you.