write a program to accept n different numbers in SDA. Now enter a number and by using the linear search technique, check whether the number is present or not in the list of array elements.if the number is present then display the message search successful otherwise display search unsuccessful
Answers
Answered by
0
Answer:
Duplicate elements can be found using two loops. The outer loop will iterate through the array from 0 to length of the array. The outer loop will select an element. The inner loop will be used to compare the selected element with the rest of the elements of the array.
Explanation:
Similar questions