Write a program to initialize a single dimensional array num[ ] with 15 integer elements (in ascending order). Input another integer val. Search val from array num[ ] using binary search technique. Print the array num[ ] elements in a single line with suitable space between each number and index/subscript of val, if found in the array otherwise print a message ”Not found in the list, search unsuccessful” along with the value of val.
Answers
Answered by
0
write the question in proper way count understanding the question
Similar questions