0% found this document useful (0 votes)
67 views1 page

ACTIVITY 6 - Search

The document describes an activity to create a program that allows a user to search for a number in an array. The program should prompt the user to enter a number to search for in a sample array containing the numbers 1, 3, 4, 5, 6, 10. If the number is found, it should output the number and its index in the array.

Uploaded by

Ronald U. Wacas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views1 page

ACTIVITY 6 - Search

The document describes an activity to create a program that allows a user to search for a number in an array. The program should prompt the user to enter a number to search for in a sample array containing the numbers 1, 3, 4, 5, 6, 10. If the number is found, it should output the number and its index in the array.

Uploaded by

Ronald U. Wacas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

ACTIVITY 6: SEARCH

Create a program that allows a user to SEARCH a number in an array.


Example:
Array: 1 3 4 5 6 10
Enter number to Search: 10
The number is 10 at Index LA[5]

You might also like