Question: c++ Write a program that performs the following tasks: 1-Define a function called Count that: a. Accept an array of real values (Arr), the size

c++ c++ Write a program that performs the following tasks: 1-Define a function

Write a program that performs the following tasks: 1-Define a function called Count that: a. Accept an array of real values (Arr), the size of the array as integer value (n), and a real value (key). b. then the function should count the number of elements in the Array greater than the (key). c. Return the result. 2-Define a main function that perform the following: a. define an array of 20 real numbers (Arr) b. Define a real value k and integer value c; C. Enter the values of (Arr) and (key). d. Call function Count and store the result in c. e. Display variable c

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!