Search an array of sorted numbers based on search criteria

Question: Write a C function to search a sorted array based on given search criteria. The search criteria can be LessThan, LessThanEquals, Equals, GreaterThanEquals, GreaterThan.

 

Leave a Reply

Your email address will not be published. Required fields are marked *