Computer Science, asked by mn5373171gmailcom, 7 months ago

write a menu deiven program that first allow user user to enter fibonacci series upto 100 and array and also allow user to apply linear search to find a number of user choice in c++
implentation in c++​

Answers

Answered by nishug1986sd
3

Explanation:

Input: arr[] = {2, 3, 4, 10, 40}, x = 10

Output: 3

Element x is present at index 3.

Input: arr[] = {2, 3, 4, 10, 40}, x = 11

Output: -1

Similar questions