You are on page 1of 2

NAME : PALLAVI TIKHE Roll.no. s2546 1.linear search 2.binary search 3.

quit enter ur choice 1

enter no of element: 5

enter a list of 5 element: 5 6 4 9 3

enter element to be searched: 6

found at location=1 1.linear search 2.binary search 3.quit enter ur choice 2

enter no of element 5

enter a sorted list of 5 element 6 2 4

9 0

enter element to b search: 9

found at location=4 1.linear search 2.binary search 3.quit enter ur choice

You might also like