Computer Science, asked by anvibillore, 5 months ago

write a c++ program to search an element in given array​

Answers

Answered by aksk16
0

Answer:

Algorithm to search an element in array using linear search

Explanation:

First take number of elements in array as input from user and store it in a variable N. Using a loop, take N numbers as input from user and store it in array(Let the name of the array be inputArray). Ask user to enter element to be searched. Let it be num.

Similar questions