1. Write a program to search an element in an array using linear search. Make array as a private member of the class.
Answers
Answered by
0
Explanation:
How to write a program to search an element in an array using linear search. Make array as a private member of the class. use a for loop to iterate over indexes until index == length... at each iteration test the value against your search criters... when match found, you could return/use the index/value as you need ;)
Answered by
0
Answer:
hope this is helpful for you
Attachments:
Similar questions