Enter number of elements 9 Enter elements in ascending order1 2 3 4 5 6 7 8 9 Enter search element: 5 Element found at =5