Question: S is one - dimensional array of integers. Write a C + + function to search for an element in array S which is greater

S is one-dimensional array of integers. Write a C++ function to search for an element in array S which is greater than integer num by using for loop. Use integer num and array as two parameters of your function ( bool searchbig(int, int [MAXELS]); ). If the element in array S which is greater than integer num is found in the array then the function should return true and false otherwise.
Call this function from main() function.

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!