. Write a program for: search(LA,ITEM) in Java
1. Search whether the user's entered item is exist or not in the array if exist perform following
2. Print two right neighbors(item/value) in case no right neighbor print message 'no right neighbor'
3. Print two le neighbors(item/value) in case no le neighbor print message 'no le neighbor
Comments
Leave a comment