• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

SEARCH

simple program that will SEARCH the inputted value. Example of the output :
ENTER number of element 5.
input 5 elements
1
2
3
4
5
enter the value to find : 3
3 is located at index 2

just need help using arrays.
 
simple program that will SEARCH the inputted value. Example of the output :
ENTER number of element 5.
input 5 elements
1
2
3
4
5
enter the value to find : 3
3 is located at index 2
just need help using arrays.
A bit more info would help. This is an easy task using built-in Linux tools. What are you using--OS and programming language?
 
Back
Top Bottom