Question d’entretien chez Capgemini

Write a c++ code for binary search on notepad.