WAP to accept a series of numbers in an array then search the first occurrence of an input number in the same. If number is not found, then display a suitable message. Use LINEAR SEARCH method
Input array: 12, 34, 14, 4, 20, 40, 23, 78
Number= 14
Output: number found at position 3
Published By : Sunita Chhetry