Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

write a function countPostiveNumbers that recives anarray of 10 double numbers a

ID: 3615980 • Letter: W

Question

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