0% found this document useful (0 votes)
16 views

Linear Out

The document describes a program that takes 10 numbers as input, then takes a search element as input and outputs the index where that number is found in the original 10 numbers. The program was given 10 numbers as input: 9, 4, 8, 2, 12, 15, 18, 21, 35, 33. It then took 18 as the search element and output that 18 was found at index 7.

Uploaded by

Swapnil Gupta
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

Linear Out

The document describes a program that takes 10 numbers as input, then takes a search element as input and outputs the index where that number is found in the original 10 numbers. The program was given 10 numbers as input: 9, 4, 8, 2, 12, 15, 18, 21, 35, 33. It then took 18 as the search element and output that 18 was found at index 7.

Uploaded by

Swapnil Gupta
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

OUTPUT 4 :

Enter 10 no:
9
4
8
2
12
15
18
21
35
33
Enter search elements :
18
Found at : 7

You might also like