Question: Now, create function files that will use a for loop to perform the following tasks for an input array x: (a) Count how many elements
Now, create function files that will use a for loop to perform the following tasks for an input array x: (a) Count how many elements are greater than an arbitrary integer (e.g. 5). Display these values as well as the count using fprintf. (b) Calculate the arithmetic mean of array x without using the built-in functionssum, mean, etc Again display the result using fprintf. Test these functions with arbitrary input arrays that you can make up
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
