(Solved):Write a function named countOutliers that has a vector parameter (vector of integers), and two single integer parameters. The function should count all values in the vector parameter that lie outsi… View Answer…

 

Question

Write a function named countOutliers that has a vector parameter (vector of integers), and two single integer parameters. The function should count all values in the vector parameter that lie outside the values of the 2 integer parameters and return that count. If the vector passed in is empty, the returned count will be 0.

The order of the integer arguments passed in should not matter. In other words, your program

Scroll to top