Question: Write a function named over 18 that takes as parameters an array of integer nArray and an integer parameter named size; this function will

 Write a function named over 18 that takes as parameters an array   

Write a function named over 18 that takes as parameters an array of integer nArray and an integer parameter named size; this function will return a number to show how many numbers in this array are greater than 18. For example, consider the declaration: double a[] = {51, 63, 12, 30, 76, 10, 17, 51, 38, 53, 41); Requirement: Test your program with at least two integer arrays with different data contents and array sizes.

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 Programming Questions!