Introduction
Binary search is a search method that finds an element's index position in a sorted array. In C++, we can perform a binary search using two approaches - iterative and recursive. In this lab, we will perform a binary search operation using a dynamic array.