Question: C++ please answer ASAP Question 3: Write a function that takes a pointer to an array of integers and return the count of positive numbers

C++
please answer ASAP
C++ please answer ASAP Question 3: Write a function that takes a

Question 3: Write a function that takes a pointer to an array of integers and return the count of positive numbers found in that array. int count Post(int *values, int size); Write a main program to test your function, you should ask the user for the size, read an array with given size using the readArray function from the user and then print back to the user the number of positive values in your array that you found by calling the countPost function. A sample output is given below: Please enter the size: 10 Please enter 10 elements: 10 0 -4 -2 1 3 -6 7 -1 9 The count of positive values is : 6

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!