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]; coutRelated Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.