Question: Question 1: Write a program that performs the following tasks: 1- Define a function called Count that: a. Accept an array of real values (Arr),
Question 1: 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
Get step-by-step solutions from verified subject matter experts
