write a function countPostiveNumbers that recives anarray of 10 double numbers and return the count ofpostive values stored in that array. Use this function ina C++ program that inputs the array value from theuser then calls the function. The program (not the function) should print thecount of postive numbers before exiting. write a function countPostiveNumbers that recives anarray of 10 double numbers and return the count ofpostive values stored in that array. Use this function ina C++ program that inputs the array value from theuser then calls the function. The program (not the function) should print thecount of postive numbers before exiting.
Explanation / Answer
please rate - thanks #include using namespace std; int countPositiveNumbers(double[],int); int main() {int i,n=10; double a[n]; cout