Question: avgpositive 7 multiples Write a function avgpositive 7 multiples that takes a vector as input and returns the average of all the positive numbers that
avgpositivemultiples
Write a function avgpositivemultiples that takes a vector as input and returns the average of all the positive numbers that are multiples of
Assume that the input vector will contain at least one number that is a positive multiple
returns average of and is not included, because it is negative.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
