Question: Create a function called CalcAverage ( ) that will process a local array of 1 2 integers, and prints the average result to the terminal

Create a function called CalcAverage() that will process a local array of 12 integers, and prints the
average result to the terminal screen. The average has to be a float value and limited to 2 d.p.
For example, if the integer values 2,3,6,13,8,4,9,5,11,7,19,26 were used, the average is 9.42.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!