admin@onlinelearningcenter.in (+91) 7 999 01 02 03

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 metho

Sunita Chhetry
110 Posts

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
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

Comments

Jquery Comments Plugin